Skip to content

Commit

Permalink
CRISTAL-467
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelleduc committed Feb 21, 2025
1 parent 6495b62 commit 02facb9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build_electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,23 @@ jobs:
- uses: actions/[email protected]
with:
cache: 'pnpm'
- run: pnpm install
- id: restore-cache-electron-linux
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: |
.nx/
key: ${{ github.ref }}-restore-cache-electron-linux
- run: pnpm install
- run: pnpm run build
- id: restore-cache-electron-linux
uses: actions/cache/save@v4
with:
path: |
.nx/
key: ${{ github.ref }}-restore-cache-electron-linux
- run: sudo apt install flatpak-builder
- run: cd ./electron; env DEBUG="@malept/flatpak-bundler" pnpm exec electron-builder build --linux flatpak
- run: flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- run: pnpm run --filter @xwiki/cristal-electron build:linux
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 02facb9

Please sign in to comment.