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 37
37
with :
38
38
python-version : ' 3.11'
39
39
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
+
40
49
- run : npm ci
41
50
42
51
# The API key in APPLE_API_KEY is a PEM cert that must be read from disk:
58
67
# For Windows signing:
59
68
WIN_CSC_LINK : ${{ secrets.WIN_CSC_LINK }}
60
69
WIN_CSC_KEY_PASSWORD : ${{ secrets.WIN_CSC_KEY_PASSWORD }}
70
+ # Workaround - see FPM install step above
71
+ USE_SYSTEM_FPM : ${{ matrix.platform == 'linux' && matrix.arch == 'arm64' }}
61
72
62
73
- uses : actions/upload-artifact@v4
63
74
with :
You can’t perform that action at this time.
0 commit comments