Skip to content

Commit ba7ea17

Browse files
action: Add appimage deployment
Signed-off-by: Patrick José Pereira <[email protected]>
1 parent c657b05 commit ba7ea17

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/release.yml

+19-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,22 @@ jobs:
3232
- name: Build
3333
run: |
3434
cmake -B build -DCMAKE_BUILD_TYPE=Release
35-
cmake --build build --parallel --config Release
35+
cmake --build build --parallel --config Release
36+
37+
- name: Install LinuxDeploy
38+
uses: miurahr/install-linuxdeploy-action@v1
39+
with:
40+
plugins: qt appimage
41+
42+
- name: Create Appimage
43+
run: |
44+
# Install lib for linuxdeploy
45+
sudo apt install --yes libfuse2 libxkbcommon-x11-0
46+
export QML_SOURCES_PATHS=$PWD/qml
47+
linuxdeploy-x86_64.AppImage --desktop-file=deploy/qhot.desktop --executable=build/src/qhot --appdir=build/src --plugin=qt --output=appimage --verbosity=3 --icon-file=deploy/icon.png
48+
49+
- name: Upload AppImage
50+
uses: actions/upload-artifact@v3
51+
with:
52+
name: linux
53+
path: qhot-*.AppImage

0 commit comments

Comments
 (0)