summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-01-16 15:54:17 -0800
committerGitHub <noreply@github.com>2024-01-16 15:54:17 -0800
commitb4ed5b7dfe9ca01ef48922d1b2c154767b7e4e86 (patch)
treed697346056f01b56bfa8516b357efc695e1dbfbc /.github/workflows/windows.yml
parent88bb09b3beb4c9efbfad874aef2dc1faf6bea4e5 (diff)
Bump the required BASERUBY version to 2.7 (#9566)
[[Misc #16671]](https://bugs.ruby-lang.org/issues/16671)
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index a31545fe5a..c8d61be763 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -133,6 +133,7 @@ jobs:
builddir: build
- name: setup env
+ # Available Ruby versions: https://github.com/actions/runner-images/blob/main/images/windows/Windows2019-Readme.md#ruby
# %TEMP% is inconsistent with %TMP% and test-all expects they are consistent.
# https://github.com/actions/virtual-environments/issues/712#issuecomment-613004302
run: |
@@ -146,10 +147,14 @@ jobs:
set TEMP=%USERPROFILE%\AppData\Local\Temp
set MAKEFLAGS=l
set /a TEST_JOBS=(15 * %NUMBER_OF_PROCESSORS% / 10) > nul
+ set PATH=C:\hostedtoolcache\windows\Ruby\2.7.8\x64\bin;%PATH%
set | C:\msys64\usr\bin\sort > new.env
C:\msys64\usr\bin\comm -13 old.env new.env >> %GITHUB_ENV%
del *.env
+ - name: baseruby version
+ run: ruby -v
+
- name: compiler version
run: cl