summaryrefslogtreecommitdiff
path: root/.github/workflows/windows.yml
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2023-07-03 22:36:05 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2023-07-04 20:13:49 +0900
commitab661556207046022860958d3c4f06bb289a7c97 (patch)
tree5f611feee47dbe18fe7aec86ff8cf7d860a5cece /.github/workflows/windows.yml
parent7ee39556db3db37953975d55adef1eb3a185777f (diff)
fix substitution errors
These expressions don't exist.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/8020
Diffstat (limited to '.github/workflows/windows.yml')
-rw-r--r--.github/workflows/windows.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 56d53311d3..2f706c09f2 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -81,9 +81,9 @@ jobs:
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: C:\vcpkg\installed
- key: ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-${{ github.sha }}
+ key: ${{ runner.os }}-vcpkg-installed-${{ env.OS_VER }}-${{ github.sha }}
restore-keys: |
- ${{ runner.os }}-vcpkg-installed-${{ matrix.os }}-
+ ${{ runner.os }}-vcpkg-installed-${{ env.OS_VER }}-
${{ runner.os }}-vcpkg-installed-
- name: Install libraries with vcpkg
@@ -111,7 +111,7 @@ jobs:
# https://github.com/actions/virtual-environments/issues/712#issuecomment-613004302
run: |
set VS=${{ matrix.vs }}
- set VCVARS=${{ matrix.vcvars }}
+ set VCVARS=${{ matrix.vcvars || '' }}
if not "%VCVARS%" == "" goto :vcset
set VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
if not exist %VCVARS% set VCVARS="C:\Program Files\Microsoft Visual Studio\%VS%\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
@@ -156,7 +156,7 @@ jobs:
- run: nmake test-all
env:
- RUBY_TESTOPTS: -j${{ env.TEST_JOBS }} --job-status=normal
+ RUBY_TESTOPTS: -j${{ env.TEST_JOBS || 4 }} --job-status=normal
timeout-minutes: 60
- uses: ./.github/actions/slack