Skip to content

Commit feae58e

Browse files
dont install on windows
1 parent e52b85e commit feae58e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -296,42 +296,42 @@ jobs:
296296
uses: actions/checkout@v3
297297

298298
- name: Install Node.js
299-
if: fromJSON(matrix.config.container) == null
299+
if: fromJSON(matrix.config.container) == null && runner.os != 'Windows'
300300
uses: actions/setup-node@v4
301301
with:
302302
node-version: ${{ env.NODE_VERSION }}
303303
registry-url: 'https://registry.npmjs.org'
304304
cache: 'yarn'
305305

306306
- name: Install Python 3.x
307-
if: fromJSON(matrix.config.container) == null
307+
if: fromJSON(matrix.config.container) == null && runner.os != 'Windows'
308308
uses: actions/setup-python@v5
309309
with:
310310
python-version: '3.11.x'
311311

312312
- name: Install Go
313-
if: fromJSON(matrix.config.container) == null
313+
if: fromJSON(matrix.config.container) == null && runner.os != 'Windows'
314314
uses: actions/setup-go@v5
315315
with:
316316
go-version: ${{ env.GO_VERSION }}
317317

318318
- name: Install Go
319319
# actions/setup-go@v5 has dependency on a higher version of glibc than available in the Linux container.
320-
if: fromJSON(matrix.config.container) != null
320+
if: fromJSON(matrix.config.container) != null && runner.os != 'Windows'
321321
uses: actions/setup-go@v4
322322
with:
323323
go-version: ${{ env.GO_VERSION }}
324324

325325
- name: Install Taskfile
326-
if: fromJSON(matrix.config.container) == null
326+
if: fromJSON(matrix.config.container) == null && runner.os != 'Windows'
327327
uses: arduino/setup-task@v2
328328
with:
329329
repo-token: ${{ secrets.GITHUB_TOKEN }}
330330
version: 3.x
331331

332332
- name: Install Taskfile
333333
# actions/setup-task@v2 has dependency on a higher version of glibc than available in the Linux container.
334-
if: fromJSON(matrix.config.container) != null
334+
if: fromJSON(matrix.config.container) != null && runner.os != 'Windows'
335335
uses: arduino/setup-task@v1
336336
with:
337337
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)