Skip to content

Commit ad231cd

Browse files
nobuk0kubun
authored andcommitted
Windows: Explicitly specify the use of coreutils commands
It appears that shims for individual commands are no longer being created.
1 parent efca0f4 commit ad231cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/windows.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
# https://github.com/actions/virtual-environments/issues/712#issuecomment-613004302
114114
run: |
115115
::- Set up VC ${{ matrix.vc }}
116-
set | sort > old.env
116+
set | coreutils sort > old.env
117117
call ..\src\win32\vssetup.cmd ^
118118
-arch=${{ matrix.target || 'amd64' }} ^
119119
${{ matrix.vcvars && '-vcvars_ver=' || '' }}${{ matrix.vcvars }}
@@ -123,8 +123,8 @@ jobs:
123123
set MAKEFLAGS=l
124124
set /a TEST_JOBS=(15 * %NUMBER_OF_PROCESSORS% / 10) > nul
125125
set RUBY_OPT_DIR=%GITHUB_WORKSPACE:\=/%/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
126-
set | sort > new.env
127-
comm -13 old.env new.env >> %GITHUB_ENV%
126+
set | coreutils sort > new.env
127+
coreutils comm -13 old.env new.env >> %GITHUB_ENV%
128128
del *.env
129129
130130
- name: baseruby version

0 commit comments

Comments
 (0)