Skip to content

Commit aab7d30

Browse files
committed
Handle linux files separately
1 parent c67e405 commit aab7d30

2 files changed

Lines changed: 82 additions & 0 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,48 @@ jobs:
640640
-PmodtaleSiteBaseUrl="$LAUNCHER_SITE_BASE_URL" \
641641
-PmodtaleApiBaseUrl="$LAUNCHER_API_BASE_URL"
642642
643+
- name: Upload Linux AppImage package
644+
if: runner.os == 'Linux'
645+
uses: actions/upload-artifact@v4
646+
with:
647+
name: ${{ needs.deploy.outputs.launcher_artifact_prefix }}-linux-appimage
648+
path: launcher/build/distributions/*.AppImage
649+
if-no-files-found: error
650+
651+
- name: Upload Linux Debian package
652+
if: runner.os == 'Linux'
653+
uses: actions/upload-artifact@v4
654+
with:
655+
name: ${{ needs.deploy.outputs.launcher_artifact_prefix }}-linux-deb
656+
path: launcher/build/distributions/*.deb
657+
if-no-files-found: error
658+
659+
- name: Upload Linux RPM package
660+
if: runner.os == 'Linux'
661+
uses: actions/upload-artifact@v4
662+
with:
663+
name: ${{ needs.deploy.outputs.launcher_artifact_prefix }}-linux-rpm
664+
path: launcher/build/distributions/*.rpm
665+
if-no-files-found: error
666+
667+
- name: Upload Linux Flatpak package
668+
if: runner.os == 'Linux'
669+
uses: actions/upload-artifact@v4
670+
with:
671+
name: ${{ needs.deploy.outputs.launcher_artifact_prefix }}-linux-flatpak
672+
path: launcher/build/distributions/*.flatpak
673+
if-no-files-found: error
674+
675+
- name: Upload Linux pacman package
676+
if: runner.os == 'Linux'
677+
uses: actions/upload-artifact@v4
678+
with:
679+
name: ${{ needs.deploy.outputs.launcher_artifact_prefix }}-linux-pacman
680+
path: launcher/build/distributions/*.pkg.tar.zst
681+
if-no-files-found: error
682+
643683
- name: Upload staging launcher package
684+
if: runner.os != 'Linux'
644685
uses: actions/upload-artifact@v4
645686
with:
646687
name: ${{ needs.deploy.outputs.launcher_artifact_prefix }}-${{ matrix.artifact }}

.github/workflows/launcher-release.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,48 @@ jobs:
128128
129129
./gradlew clean "$package_task" -PlauncherVersion="${{ needs.metadata.outputs.version }}"
130130
131+
- name: Upload Linux AppImage package
132+
if: runner.os == 'Linux'
133+
uses: actions/upload-artifact@v4
134+
with:
135+
name: launcher-linux-appimage
136+
path: launcher/build/distributions/*.AppImage
137+
if-no-files-found: error
138+
139+
- name: Upload Linux Debian package
140+
if: runner.os == 'Linux'
141+
uses: actions/upload-artifact@v4
142+
with:
143+
name: launcher-linux-deb
144+
path: launcher/build/distributions/*.deb
145+
if-no-files-found: error
146+
147+
- name: Upload Linux RPM package
148+
if: runner.os == 'Linux'
149+
uses: actions/upload-artifact@v4
150+
with:
151+
name: launcher-linux-rpm
152+
path: launcher/build/distributions/*.rpm
153+
if-no-files-found: error
154+
155+
- name: Upload Linux Flatpak package
156+
if: runner.os == 'Linux'
157+
uses: actions/upload-artifact@v4
158+
with:
159+
name: launcher-linux-flatpak
160+
path: launcher/build/distributions/*.flatpak
161+
if-no-files-found: error
162+
163+
- name: Upload Linux pacman package
164+
if: runner.os == 'Linux'
165+
uses: actions/upload-artifact@v4
166+
with:
167+
name: launcher-linux-pacman
168+
path: launcher/build/distributions/*.pkg.tar.zst
169+
if-no-files-found: error
170+
131171
- name: Upload launcher package
172+
if: runner.os != 'Linux'
132173
uses: actions/upload-artifact@v4
133174
with:
134175
name: ${{ matrix.artifact }}

0 commit comments

Comments
 (0)