Skip to content

Commit 8d5139f

Browse files
committed
fix build issue 8.0
1 parent 566a7ba commit 8d5139f

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,18 @@ jobs:
4242
path: dist/*.AppImage
4343

4444
flatpak:
45-
runs-on: ubuntu-latest
4645
needs: build
47-
46+
runs-on: ubuntu-latest
47+
container:
48+
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
49+
options: --privileged
4850
steps:
4951
- name: Checkout repository
50-
uses: actions/checkout@v3
51-
52-
- name: Set up Node.js
53-
uses: actions/setup-node@v3
54-
with:
55-
node-version: 22
56-
57-
- name: Build flatpak
52+
uses: actions/checkout@v4
53+
54+
- name: Build Flatpak
5855
run: |
59-
npm run flatpak
56+
./flatpak.sh
6057
6158
- name: Upload Flatpak
6259
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)