Skip to content

Commit

Permalink
fix(ops): conditional artifact uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff authored Dec 16, 2024
1 parent 903f0d0 commit 7b75bd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,31 @@ jobs:

- name: Upload DMG
uses: actions/upload-artifact@v3
if: always()
if: startsWith(matrix.os, 'macos')
with:
name: DMG
path: dist/*.dmg
if-no-files-found: error

- name: Upload AppImage
uses: actions/upload-artifact@v3
if: always()
if: startsWith(matrix.os, 'ubuntu')
with:
name: AppImage
path: dist/*.AppImage
if-no-files-found: error

- name: Upload .deb
uses: actions/upload-artifact@v3
if: always()
if: startsWith(matrix.os, 'ubuntu')
with:
name: DEB
path: dist/*.deb
if-no-files-found: error

- name: Upload .exe
uses: actions/upload-artifact@v3
if: always()
if: startsWith(matrix.os, 'windows')
with:
name: EXE
path: dist/*.exe
Expand Down

0 comments on commit 7b75bd8

Please sign in to comment.