diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml index b374c7d..38138c9 100644 --- a/.github/workflows/build-debug.yaml +++ b/.github/workflows/build-debug.yaml @@ -58,7 +58,8 @@ jobs: directory: src/DFrame.Unity # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: DFrame.Unity.${{ matrix.unity }}.unitypackage path: ./src/DFrame.Unity/*.unitypackage + retention-days: 1 diff --git a/.github/workflows/build-release.yaml b/.github/workflows/build-release.yaml index e2d1834..0ec76d9 100644 --- a/.github/workflows/build-release.yaml +++ b/.github/workflows/build-release.yaml @@ -35,10 +35,11 @@ jobs: - run: dotnet build -c Release -p:Version=${{ inputs.tag }} # - run: dotnet test -c Release --no-build - 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] @@ -83,10 +84,11 @@ jobs: directory: src/DFrame.Unity # Store artifacts. - - uses: actions/upload-artifact@v2 + - uses: Cysharp/Actions/.github/actions/upload-artifact@main with: name: DFrame.${{ inputs.tag }}.unitypackage path: ./src/DFrame.Unity/*.unitypackage + retention-days: 1 # release create-release: