mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 04:21:15 +00:00
Add AppImage packaging to the Release workflow
This commit is contained in:
parent
1b2d440c38
commit
2fc0ba6ea4
25
.github/workflows/release.yml
vendored
25
.github/workflows/release.yml
vendored
@ -87,23 +87,25 @@ jobs:
|
||||
|
||||
- name: Install linuxdeploy
|
||||
if: ${{ matrix.linux }}
|
||||
id: install-linuxdeploy
|
||||
uses: miurahr/install-linuxdeploy-action@v1.8.0
|
||||
with:
|
||||
plugins: qt
|
||||
plugins: qt appimage
|
||||
|
||||
- name: Package (AppImage)
|
||||
if: ${{ matrix.linux }}
|
||||
run: |
|
||||
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" && NO_STRIP=1 ${{ steps.install-linuxdeploy.outputs.linuxdeploy }} \
|
||||
--plugin=qt \
|
||||
-e build/isle \
|
||||
-e build/isle-config \
|
||||
-l build/liblego1.so \
|
||||
-d build/packaging/linux/org.legoisland.Isle.desktop \
|
||||
-i build/icons/@APP_ID@.svg \
|
||||
--custom-apprun=/packaging/linux/appimage/AppRun \
|
||||
--appdir build/packaging/linux/appimage/AppDir \
|
||||
--output "dist/isle-$(uname -m).AppImage"
|
||||
cd build && \
|
||||
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" && \
|
||||
NO_STRIP=1 ${{ steps.install-linuxdeploy.outputs.linuxdeploy }} \
|
||||
-p qt \
|
||||
-e isle \
|
||||
-e isle-config \
|
||||
-d packaging/linux/org.legoisland.Isle.desktop \
|
||||
-i icons/org.legoisland.Isle.svg \
|
||||
--custom-apprun=../packaging/linux/appimage/AppRun \
|
||||
--appdir packaging/linux/appimage/AppDir \
|
||||
--output appimage
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@main
|
||||
@ -111,6 +113,7 @@ jobs:
|
||||
name: Release-${{ matrix.name }}
|
||||
path: |
|
||||
build/dist/isle-*
|
||||
build/*.AppImage
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@main
|
||||
|
||||
Loading…
Reference in New Issue
Block a user