Skip to content

Commit d13393c

Browse files
committed
Fail desktop installer uploads when no files match path
Mirrors the existing if-no-files-found: error guard from the AppImage and Arch upload steps onto the Windows, macOS, and Linux deb/rpm uploads, so an empty gradle output now fails the matrix entry instead of silently warn-and-succeeding into an empty artifact that makes the release job's completeness guard fire much later.
1 parent df630a0 commit d13393c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-desktop-platforms.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
path: |
6969
composeApp/build/compose/binaries/main/exe/*.exe
7070
composeApp/build/compose/binaries/main/msi/*.msi
71+
if-no-files-found: error
7172
retention-days: 30
7273
compression-level: 6
7374

@@ -127,6 +128,7 @@ jobs:
127128
path: |
128129
composeApp/build/compose/binaries/main/dmg/*.dmg
129130
composeApp/build/compose/binaries/main/pkg/*.pkg
131+
if-no-files-found: error
130132
retention-days: 30
131133
compression-level: 6
132134

@@ -296,6 +298,7 @@ jobs:
296298
path: |
297299
composeApp/build/compose/binaries/main/deb/*.deb
298300
composeApp/build/compose/binaries/main/rpm/*.rpm
301+
if-no-files-found: error
299302
retention-days: 30
300303
compression-level: 6
301304

0 commit comments

Comments
 (0)