From 7c721c4aaaa1e5793f67b6fe67fcfda97bb95050 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Fri, 7 Feb 2025 08:08:38 +0100 Subject: [PATCH] fix(ci): add temp arm64 workaround MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit currently required, because Flatpak arm64 build currently fails – and if it fails, the remaining builds (deb, rpm, zip) fail as well, as they are created in the same run. once the fix is released in the next electron-forge, we can get rid of this again. --- .github/actions/build-electron/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/build-electron/action.yml b/.github/actions/build-electron/action.yml index 2f804cca0..b55ffea4b 100644 --- a/.github/actions/build-electron/action.yml +++ b/.github/actions/build-electron/action.yml @@ -27,6 +27,10 @@ runs: - name: Install dependencies shell: bash run: npm ci + - name: Temporary Flatpak arm64 workaround till https://github.com/electron/forge/pull/3839 is merged + if: ${{ inputs.os == 'linux' && inputs.arch == 'arm64' }} + shell: bash + run: sed -e "s/case 'armv7l'/case 'arm64'/g" -e "s/return 'arm'/return 'aarch64'/g" -i node_modules/@electron-forge/maker-flatpak/dist/MakerFlatpak.js - name: Update build info shell: bash run: npm run update-build-info