File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 3737 with :
3838 python-version : ' 3.11'
3939
40+ # Due to https://github.com/electron-userland/electron-builder/issues/3901
41+ # Electron-Builder fails to produce deb packages on arm64 without this:
42+ - name : Install system FPM to fix ARM64 Linux builds
43+ if : matrix.platform == 'linux' && matrix.arch == 'arm64'
44+ run : |
45+ sudo apt-get update
46+ sudo apt-get install ruby ruby-dev build-essential
47+ sudo gem install --no-document fpm
48+
4049 - run : npm ci
4150
4251 # The API key in APPLE_API_KEY is a PEM cert that must be read from disk:
5867 # For Windows signing:
5968 WIN_CSC_LINK : ${{ secrets.WIN_CSC_LINK }}
6069 WIN_CSC_KEY_PASSWORD : ${{ secrets.WIN_CSC_KEY_PASSWORD }}
70+ # Workaround - see FPM install step above
71+ USE_SYSTEM_FPM : ${{ matrix.os == 'linux' && matrix.arch == 'arm64' }}
6172
6273 - uses : actions/upload-artifact@v4
6374 with :
You can’t perform that action at this time.
0 commit comments