diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index c3c34ea..1d2b8d9 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -58,7 +58,8 @@ jobs: directory: src/Ulid.Unity # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: Ulid.Unity.${{ matrix.unity }}.unitypackage.zip path: ./src/Ulid.Unity/*.unitypackage + retention-days: 1 diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index e703ae1..9ab2524 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -34,10 +34,11 @@ jobs: - run: dotnet pack -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/ + retention-days: 1 build-unity: needs: [update-packagejson] @@ -82,10 +83,11 @@ jobs: directory: src/Ulid.Unity # Store artifacts. - - uses: actions/upload-artifact@v1 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: Ulid.Unity.${{ inputs.tag }}.unitypackage path: ./src/Ulid.Unity/Ulid.Unity.${{ inputs.tag }}.unitypackage + retention-days: 1 # release create-release: