-
-
Notifications
You must be signed in to change notification settings - Fork 83
39 lines (32 loc) · 986 Bytes
/
build-appimage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build chiaki-ng Appimage
on:
workflow_dispatch:
jobs:
build-appimage_x64:
name: Build chiaki-ng appimage_x64
runs-on: ubuntu-latest
steps:
- name: Setup Podman
run: |
sudo apt update
sudo apt-get -y install podman
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
path: 'chiaki-ng'
- name: Add QmlWebEngine Import
working-directory: chiaki-ng
run: |
echo "import QtWebEngine; WebEngineView {}" > "$PWD/gui/src/qml/qtwebengine_import.qml"
- name: Run build script
working-directory: chiaki-ng/scripts
run: |
./run-podman-build-appimage.sh
- name: Upload chiaki-ng Artifact
uses: actions/upload-artifact@v4
with:
name: chiaki-ng.AppImage
path: chiaki-ng/appimage/chiaki-ng.AppImage
if-no-files-found: error
retention-days: 7