@@ -273,7 +273,6 @@ jobs:
273
273
# Location of artifacts generated by build.
274
274
BUILD_ARTIFACTS_PATH : electron-app/dist/build-artifacts
275
275
IS_WINDOWS_CONFIG : ${{ matrix.config.name == 'Windows' }}
276
- IS_MACOS_CONFIG : ${{ matrix.config.name == 'macOS x86' }}
277
276
strategy :
278
277
matrix :
279
278
config : ${{ fromJson(needs.select-targets.outputs.build-matrix) }}
@@ -297,42 +296,42 @@ jobs:
297
296
uses : actions/checkout@v3
298
297
299
298
- name : Install Node.js
300
- if : fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
299
+ if : fromJSON(matrix.config.container) == null
301
300
uses : actions/setup-node@v4
302
301
with :
303
302
node-version : ${{ env.NODE_VERSION }}
304
303
registry-url : ' https://registry.npmjs.org'
305
304
cache : ' yarn'
306
305
307
306
- name : Install Python 3.x
308
- if : fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
307
+ if : fromJSON(matrix.config.container) == null
309
308
uses : actions/setup-python@v5
310
309
with :
311
310
python-version : ' 3.11.x'
312
311
313
312
- name : Install Go
314
- if : fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
313
+ if : fromJSON(matrix.config.container) == null
315
314
uses : actions/setup-go@v5
316
315
with :
317
316
go-version : ${{ env.GO_VERSION }}
318
317
319
318
- name : Install Go
320
319
# actions/setup-go@v5 has dependency on a higher version of glibc than available in the Linux container.
321
- if : fromJSON(matrix.config.container) != null && env.IS_WINDOWS_CONFIG == false
320
+ if : fromJSON(matrix.config.container) != null
322
321
uses : actions/setup-go@v4
323
322
with :
324
323
go-version : ${{ env.GO_VERSION }}
325
324
326
325
- name : Install Taskfile
327
- if : fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
326
+ if : fromJSON(matrix.config.container) == null
328
327
uses : arduino/setup-task@v2
329
328
with :
330
329
repo-token : ${{ secrets.GITHUB_TOKEN }}
331
330
version : 3.x
332
331
333
332
- name : Install Taskfile
334
333
# actions/setup-task@v2 has dependency on a higher version of glibc than available in the Linux container.
335
- if : fromJSON(matrix.config.container) != null && env.IS_WINDOWS_CONFIG == false
334
+ if : fromJSON(matrix.config.container) != null
336
335
uses : arduino/setup-task@v1
337
336
with :
338
337
repo-token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments