Skip to content

Commit 8125827

Browse files
hsbtk0kubun
authored andcommitted
windows-2025 runner removed D drive from their environment
1 parent c104fc4 commit 8125827

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ jobs:
139139
set TEMP=%USERPROFILE%\AppData\Local\Temp
140140
set MAKEFLAGS=l
141141
set /a TEST_JOBS=(15 * %NUMBER_OF_PROCESSORS% / 10) > nul
142+
set RUBY_OPT_DIR=%GITHUB_WORKSPACE:\=/%/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
142143
set | C:\msys64\usr\bin\sort > new.env
143144
C:\msys64\usr\bin\comm -13 old.env new.env >> %GITHUB_ENV%
144145
del *.env
@@ -164,7 +165,7 @@ jobs:
164165
- name: Configure
165166
run: >-
166167
../src/win32/configure.bat --disable-install-doc
167-
--with-opt-dir=D:/a/ruby/ruby/src/vcpkg_installed/%VCPKG_DEFAULT_TRIPLET%
168+
--with-opt-dir=%RUBY_OPT_DIR%
168169
169170
- run: nmake prepare-vcpkg
170171

0 commit comments

Comments
 (0)