From 864d0b7c40b4fcb0dd9465a0e5eecb978967a857 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 30 Apr 2024 12:43:03 +0900 Subject: [PATCH 1/2] ci: change upload-artifact & download-artifact to Cysharp/Actions --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 83eecf4..d07ec8a 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -27,7 +27,7 @@ jobs: - run: dotnet build -c Release -p:Version=${{ inputs.tag }} - run: dotnet test -c Release --no-build -p:Version=${{ inputs.tag }} - run: dotnet pack -c Release --no-build -p:Version=${{ inputs.tag }} -o ./publish - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: nuget path: ./publish From fe8929fc1cfbb6018c2f9b8d0f973b2a56c720d6 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:07:08 +0900 Subject: [PATCH 2/2] ci: set upload-artifact retention-period: 1 --- .github/workflows/build-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index d07ec8a..bf7c8ee 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -31,6 +31,7 @@ jobs: with: name: nuget path: ./publish + retention-days: 1 create-release: needs: [build-dotnet]