Skip to content

Commit

Permalink
[CI] Update upload-artifact action to v4 and add error handling and c…
Browse files Browse the repository at this point in the history
…ompression options (#1157)

Co-authored-by: Flavio F Lima <[email protected]>
  • Loading branch information
flavioislima and flavioislima authored Nov 20, 2024
1 parent 902ea35 commit 2c723a7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,13 @@ jobs:
- name: Build artifacts.
run: yarn dist:win
- name: Upload EXE.
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: win-setup
path: dist/HyperPlay*.exe
retention-days: 7
if-no-files-found: error
compression-level: 3
build_linux:
runs-on: ubuntu-latest
concurrency:
Expand Down Expand Up @@ -114,8 +116,10 @@ jobs:
env:
NOTARIZE: false
- name: Upload Intel build.
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mac-dmg-x64
path: dist/HyperPlay*x64.dmg
retention-days: 7
if-no-files-found: error
compression-level: 3
4 changes: 3 additions & 1 deletion .github/workflows/flatpak-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ jobs:
manifest-path: flatpak-build/xyz.hyperplay.HyperPlay.yml
cache-key: flatpak-builder-${{ github.sha }}
- name: Upload tar xz
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: linux-tar-xz
path: dist/hyperplay*.tar.xz
retention-days: 14
if-no-files-found: error
compression-level: 3

0 comments on commit 2c723a7

Please sign in to comment.