Skip to content

Commit a8893d2

Browse files
authored
ci: fix flatpak build on publish (#404)
1 parent ec93d33 commit a8893d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/on-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ jobs:
6464
apple-issuer-id: ${{ secrets.APPLE_ISSUER_ID }}
6565
apple-key-id: ${{ secrets.APPLE_KEY_ID }}
6666

67+
- name: Install Flatpak tool-chain (Linux only)
68+
if: runner.os == 'Linux'
69+
run: |
70+
sudo apt-get update
71+
# flatpak itself isn’t strictly required to *build*, but it’s good to have.
72+
sudo apt-get install -y --no-install-recommends \
73+
flatpak flatpak-builder elfutils
74+
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
75+
6776
- name: Build and Publish to GitHub Release
6877
run: pnpm run publish
6978
env:

0 commit comments

Comments
 (0)