mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 04:21:15 +00:00
Fix build
This commit is contained in:
parent
7ecae7f87e
commit
441ecb257c
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
@ -83,6 +83,24 @@ jobs:
|
||||
run: |
|
||||
cd build
|
||||
cpack .
|
||||
|
||||
- name: Install linuxdeploy
|
||||
uses: miurahr/install-linuxdeploy-action@v1.8.0
|
||||
with:
|
||||
plugins: qt
|
||||
|
||||
- name: Build AppImage
|
||||
run: |
|
||||
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/LEGO_Island-$(uname -m).AppImage"
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@main
|
||||
@ -94,6 +112,8 @@ jobs:
|
||||
flatpak:
|
||||
name: "Flatpak (${{ matrix.arch }})"
|
||||
runs-on: ${{ matrix.os }}
|
||||
needs:
|
||||
- build
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
@ -118,7 +138,7 @@ jobs:
|
||||
bundle: org.legoisland.Isle.${{ matrix.arch }}.flatpak
|
||||
manifest-path: packaging/linux/flatpak/org.legoisland.Isle.json
|
||||
arch: ${{ matrix.arch }}
|
||||
|
||||
|
||||
release:
|
||||
name: 'Release'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@ -5,7 +5,7 @@ set(APP_SPDX "LGPL-3.0-or-later")
|
||||
|
||||
string(TIMESTAMP BUILD_DATE UTC)
|
||||
|
||||
file(COPY icons/isle.svg DESTINATION ${CMAKE_BINARY_DIR}/icons/"${APP_ID}.svg")
|
||||
file(COPY_FILE icons/isle.svg "${CMAKE_BINARY_DIR}/icons/${APP_ID}.svg")
|
||||
|
||||
# The following will need to be refined if we wish to post actual releases to a repo such as Flathub
|
||||
if(DEFINED ENV{GITHUB_ACTIONS} AND ENV{GITHUB_ACTIONS} EQUAL TRUE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user