Skip to content

Commit

Permalink
setup flathub in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Aug 14, 2023
1 parent 13cdf26 commit fd2d3d9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish-desktop-app-to-gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ jobs:
with:
node-version: 18.x
- name: Install linux deps
run: sudo apt update && sudo apt install -y flatpak flatpak-builder elfutils
run: |
sudo apt update && sudo apt install -y flatpak flatpak-builder elfutils
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo flatpak install -y flathub runtime/org.freedesktop.Sdk/x86_64/22.08
sudo flatpak install -y flathub org.electronjs.Electron2.BaseApp//22.08
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install
run: npm ci
- name: Release
run: npm run publish:desktop -- --arch=${{ matrix.arch }}
run: DEBUG=@malept/flatpak-bundler npm run publish:desktop -- --arch=${{ matrix.arch }}
if: ${{ matrix.os == 'ubuntu-latest' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fd2d3d9

Please sign in to comment.