From 67794f5cddbbdc41036e3ebefa02c1b5dc18f61d Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:43:17 +0900 Subject: [PATCH 1/2] ci: change upload-artifact & download-artifact to Cysharp/Actions --- .github/workflows/build-debug.yml | 2 +- .github/workflows/build-release.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index b09439e4..b92b96d9 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -74,7 +74,7 @@ jobs: directory: src/UniTask # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: UniTask.unitypackage-${{ matrix.unity }}.zip path: ./src/UniTask/*.unitypackage diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 01ff1c8d..5512c42a 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -35,7 +35,7 @@ jobs: - run: dotnet test -c Release --no-build - run: dotnet pack ./src/UniTask.NetCore/UniTask.NetCore.csproj -c Release --no-build -p:Version=${{ inputs.tag }} -o ./publish # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: nuget path: ./publish/ @@ -82,7 +82,7 @@ jobs: directory: src/UniTask # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: UniTask.${{ inputs.tag }}.unitypackage path: ./src/UniTask/UniTask.${{ inputs.tag }}.unitypackage From 626685292c5ed3315cd3cae4043d43862eeb3805 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:06:49 +0900 Subject: [PATCH 2/2] ci: set upload-artifact retention-period: 1 --- .github/workflows/build-debug.yml | 1 + .github/workflows/build-release.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index b92b96d9..f6e4ba7d 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -78,3 +78,4 @@ jobs: with: name: UniTask.unitypackage-${{ matrix.unity }}.zip path: ./src/UniTask/*.unitypackage + retention-days: 1 diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 5512c42a..0befd820 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -39,6 +39,7 @@ jobs: with: name: nuget path: ./publish/ + retention-days: 1 build-unity: needs: [update-packagejson] @@ -86,6 +87,7 @@ jobs: with: name: UniTask.${{ inputs.tag }}.unitypackage path: ./src/UniTask/UniTask.${{ inputs.tag }}.unitypackage + retention-days: 1 # release create-release: