Update release.yml

This commit is contained in:
Damglador 2025-06-29 03:18:56 +02:00
parent 5b3e528dfe
commit b93358dd62

View File

@ -83,13 +83,16 @@ jobs:
run: | run: |
cd build cd build
cpack . cpack .
- name: Install linuxdeploy - name: Install linuxdeploy
if: ${{ matrix.linux }}
uses: miurahr/install-linuxdeploy-action@v1.8.0 uses: miurahr/install-linuxdeploy-action@v1.8.0
with: with:
plugins: qt plugins: qt
- name: Build AppImage - name: Package (AppImage)
if: ${{ matrix.linux }}
run: | run: |
NO_STRIP=1 ${{ steps.install-linuxdeploy.outputs.linuxdeploy }} \ NO_STRIP=1 ${{ steps.install-linuxdeploy.outputs.linuxdeploy }} \
--plugin qt \ --plugin qt \
@ -100,7 +103,14 @@ jobs:
-i build/icons/@APP_ID@.svg \ -i build/icons/@APP_ID@.svg \
--custom-apprun=/packaging/linux/appimage/AppRun \ --custom-apprun=/packaging/linux/appimage/AppRun \
--appdir=build/packaging/linux/appimage/AppDir \ --appdir=build/packaging/linux/appimage/AppDir \
--output "dist/LEGO_Island-$(uname -m).AppImage" --output "dist/isle-$(uname -m).AppImage"
- name: Upload Artifact
uses: actions/upload-artifact@main
with:
name: Release-${{ matrix.name }}
path: |
build/dist/isle-*
- name: Upload Artifact - name: Upload Artifact
uses: actions/upload-artifact@main uses: actions/upload-artifact@main
@ -149,7 +159,7 @@ jobs:
- name: Download All Artifacts - name: Download All Artifacts
uses: actions/download-artifact@main uses: actions/download-artifact@main
with: with:
pattern: "{Release-*,*.flatpak,*.AppImage}" pattern: "{Release-*,*.AppImage}"
path: Release path: Release
merge-multiple: true merge-multiple: true