Skip to content

Commit e52b85e

Browse files
cleanup
1 parent 1121f22 commit e52b85e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/build.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ jobs:
273273
# Location of artifacts generated by build.
274274
BUILD_ARTIFACTS_PATH: electron-app/dist/build-artifacts
275275
IS_WINDOWS_CONFIG: ${{ matrix.config.name == 'Windows' }}
276-
IS_MACOS_CONFIG: ${{ matrix.config.name == 'macOS x86' }}
277276
strategy:
278277
matrix:
279278
config: ${{ fromJson(needs.select-targets.outputs.build-matrix) }}
@@ -297,42 +296,42 @@ jobs:
297296
uses: actions/checkout@v3
298297

299298
- name: Install Node.js
300-
if: fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
299+
if: fromJSON(matrix.config.container) == null
301300
uses: actions/setup-node@v4
302301
with:
303302
node-version: ${{ env.NODE_VERSION }}
304303
registry-url: 'https://registry.npmjs.org'
305304
cache: 'yarn'
306305

307306
- name: Install Python 3.x
308-
if: fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
307+
if: fromJSON(matrix.config.container) == null
309308
uses: actions/setup-python@v5
310309
with:
311310
python-version: '3.11.x'
312311

313312
- name: Install Go
314-
if: fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
313+
if: fromJSON(matrix.config.container) == null
315314
uses: actions/setup-go@v5
316315
with:
317316
go-version: ${{ env.GO_VERSION }}
318317

319318
- name: Install Go
320319
# 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
322321
uses: actions/setup-go@v4
323322
with:
324323
go-version: ${{ env.GO_VERSION }}
325324

326325
- name: Install Taskfile
327-
if: fromJSON(matrix.config.container) == null && env.IS_WINDOWS_CONFIG == false
326+
if: fromJSON(matrix.config.container) == null
328327
uses: arduino/setup-task@v2
329328
with:
330329
repo-token: ${{ secrets.GITHUB_TOKEN }}
331330
version: 3.x
332331

333332
- name: Install Taskfile
334333
# 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
336335
uses: arduino/setup-task@v1
337336
with:
338337
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)