Skip to content

Commit 6b859db

Browse files
committed
use variable not install new make on Windows
1 parent dba2bb0 commit 6b859db

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

github-actions/ci-dist/action.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,14 @@ runs:
366366
fi
367367
echo "::endgroup::"
368368
fi
369-
- name: GNU make for Windows
369+
- name: set MYMAKE (Windows)
370370
shell: bash
371-
if: ${{ matrix.os == 'windows-latest' }}
372-
run: |
373-
choco install --verbose make
371+
if: runner.os == 'Windows'
372+
run: echo MYMAKE=gmake >> $GITHUB_ENV
373+
- name: set MYMAKE (non-Windows)
374+
shell: bash
375+
if: runner.os != 'Windows'
376+
run: echo MYMAKE=make >> $GITHUB_ENV
374377
- name: target-test (no coverage)
375378
shell: bash
376379
env:

0 commit comments

Comments
 (0)