Skip to content

Commit d8f9eff

Browse files
committed
fix: skip node 12 build on windows arm
1 parent 8519bc0 commit d8f9eff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/CI.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
run: pnpm run build.js
138138

139139
- name: Install Node 12
140-
if: ${{ !matrix.distro && matrix.os != 'macos-14' }}
140+
if: ${{ !matrix.distro && matrix.os != 'macos-14' && !(matrix.os == 'windows-2022' && matrix.target_arch == 'arm64') }}
141141
uses: actions/setup-node@v4
142142
with:
143143
node-version: 12
@@ -187,7 +187,7 @@ jobs:
187187
run: pnpm run lint-test
188188

189189
- name: Test
190-
if: ${{ ! matrix.distro }}
190+
if: ${{ ! matrix.distro && !(matrix.os == 'windows-2022' && matrix.target_arch == 'arm64') }}
191191
uses: nick-fields/retry@v3
192192
with:
193193
timeout_minutes: 5
@@ -198,7 +198,7 @@ jobs:
198198
rm -rf ./tmp && mkdir -p ./tmp
199199
200200
- name: Test Electron Windows/MacOS
201-
if: "${{ !contains(matrix.os, 'ubuntu') && !matrix.distro }}"
201+
if: "${{ !contains(matrix.os, 'ubuntu') && !matrix.distro && !(matrix.os == 'windows-2022' && matrix.target_arch == 'arm64') }}"
202202
uses: nick-fields/retry@v3
203203
with:
204204
timeout_minutes: 5

0 commit comments

Comments
 (0)