Skip to content

Commit

Permalink
additional flatpak installs
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Dec 31, 2024
1 parent ef66a3a commit 81a34f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/_publish-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,15 @@ jobs:
echo '${{ secrets.apple_api_key }}' > ~/private_keys/AuthKey_${{ secrets.apple_api_key_id }}.p8
- name: Install flatpak and flatpak-builder
run: sudo apt-get install -y flatpak flatpak-builder
run: sudo apt-get install -y flatpak flatpak-builder elfutils
if: startsWith(matrix.os, 'ubuntu')
- name: Install flathub repo
run: |
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak update --appstream
if: matrix.os == 'ubuntu-latest'
sudo flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && flatpak update --appstream
sudo flatpak install org.freedesktop.Sdk/x86_64/23.08 -y
sudo flatpak install org.freedesktop.Platform/x86_64/23.08 -y
sudo flatpak install org.electronjs.Electron2.BaseApp/x86_64/23.08 -y
if: startsWith(matrix.os, 'ubuntu')

- name:
Build/release Electron app
Expand Down
1 change: 1 addition & 0 deletions packages/altair-electron/electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ flatpak:
artifactName: ${name}_${version}_${arch}_flatpak.${ext}
runtime: org.freedesktop.Platform
runtimeVersion: '23.08'
baseVersion: '23.08'
electronCompile: false
protocols:
name: Altair GraphQL Client
Expand Down

0 comments on commit 81a34f3

Please sign in to comment.