Skip to content

Commit 9432b10

Browse files
committed
try arm again
1 parent 860d1b5 commit 9432b10

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
os:
40-
- ubuntu-20.04
40+
#- ubuntu-20.04
4141
- ubuntu-22.04-arm
4242
# include:
4343
# - os: macos-13
@@ -69,8 +69,12 @@ jobs:
6969
if: matrix.os == 'ubuntu-22.04-arm'
7070
run: |
7171
LINE=$(cat electron-builder.json | grep -n snap | cut -d ':' -f 1)
72-
sed "$((LINE-1)),$((LINE+2))d" electron-builder.json | sed 's/x64/arm64/g' > electron-builder.json.tmp
73-
mv electron-builder.json.tmp electron-builder.json
72+
sed -i "$((LINE-1)),$((LINE+2))d" electron-builder.json
73+
74+
LINE=$(cat electron-builder.json | grep -n deb | cut -d ':' -f 1)
75+
sed -i "$((LINE-1)),$((LINE+2))d" electron-builder.json
76+
77+
sed -i 's/x64/arm64/g' electron-builder.json
7478
- name: install Linux dev tools
7579
if: startsWith(matrix.os, 'ubuntu')
7680
run: |

0 commit comments

Comments
 (0)