From 25902ef53a65ef0d9f098f66603d72c0d6c774a4 Mon Sep 17 00:00:00 2001 From: Maxime Baconnais Date: Mon, 28 Oct 2024 07:42:38 +0100 Subject: [PATCH] ci : Fix linux pipeline --- .github/workflows/pipeline.yml | 7 +++++++ electron-builder.yaml | 1 + 2 files changed, 8 insertions(+) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 1113f9d..0a85344 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -49,6 +49,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Installing Linux bundling dependencies + if: ${{ (matrix.versions.os == 'ubuntu-latest') && (matrix.versions.type == 'app') }} + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: flatpak flatpak-builder rpm + version: 1.0 + - name: Packaging Linux if: ${{ (matrix.versions.os == 'ubuntu-latest') && (matrix.versions.type == 'app') }} run: npm run build:linux diff --git a/electron-builder.yaml b/electron-builder.yaml index d6bd752..7c1f845 100644 --- a/electron-builder.yaml +++ b/electron-builder.yaml @@ -44,3 +44,4 @@ linux: - rpm - tar.gz - AppImage + - flatpak