diff --git a/.github/workflows/build-debug.yml b/.github/workflows/build-debug.yml index 21fc5b8..c2c05bb 100644 --- a/.github/workflows/build-debug.yml +++ b/.github/workflows/build-debug.yml @@ -62,7 +62,8 @@ jobs: directory: src/MasterMemory.Unity # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: MasterMemory.${{ matrix.unity }}.unitypackage.zip path: ./src/MasterMemory.Unity/*.unitypackage + retention-days: 1 diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index ab9777a..8990daa 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -38,10 +38,11 @@ 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 + retention-days: 1 build-unity: needs: [update-packagejson] @@ -86,10 +87,11 @@ jobs: directory: src/MasterMemory.Unity # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: MasterMemory.Unity.${{ inputs.tag }}.unitypackage path: ./src/MasterMemory.Unity/MasterMemory.Unity.${{ inputs.tag }}.unitypackage + retention-days: 1 # release create-release: