From fb63726a424b39e2a263f22279943d3e8e79f2db Mon Sep 17 00:00:00 2001 From: otavepto <153766569+otavepto@users.noreply.github.com> Date: Sun, 2 Jun 2024 21:47:37 +0300 Subject: [PATCH] attempt 3 to fix release script --- .github/workflows/release.yml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1fcb8d5..605b611a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,13 +84,22 @@ jobs: with: files: "build/package/win/**/*" -### upload artifact/package if this is a manual run +### upload artifacts/packages if this is a manual run - name: Upload release package if: ${{ !startsWith(github.ref, 'refs/tags/') }} uses: actions/upload-artifact@v4 with: name: "release-emu-win-${{ github.sha }}" - path: "build/package/win/**/*" + path: "build/package/win/**/release*" + if-no-files-found: 'error' + compression-level: 9 + retention-days: 1 + - name: Upload release package + if: ${{ !startsWith(github.ref, 'refs/tags/') }} + uses: actions/upload-artifact@v4 + with: + name: "release-emu-win-${{ github.sha }}" + path: "build/package/win/**/debug*" if-no-files-found: 'error' compression-level: 9 retention-days: 1 @@ -165,13 +174,22 @@ jobs: with: files: "build/package/linux/**/*" -### upload artifact/package if this is a manual run +### upload artifacts/packages if this is a manual run - name: Upload release package if: ${{ !startsWith(github.ref, 'refs/tags/') }} uses: actions/upload-artifact@v4 with: name: "release-emu-linux-${{ github.sha }}" - path: "build/package/linux/**/*" + path: "build/package/linux/**/release*" + if-no-files-found: 'error' + compression-level: 9 + retention-days: 1 + - name: Upload release package + if: ${{ !startsWith(github.ref, 'refs/tags/') }} + uses: actions/upload-artifact@v4 + with: + name: "release-emu-linux-${{ github.sha }}" + path: "build/package/linux/**/debug*" if-no-files-found: 'error' compression-level: 9 retention-days: 1