mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Split restore and save actions from action/cache. We need to save always vcpkg cache
This commit is contained in:
parent
596126ee5a
commit
cfdc2465d9
1 changed files with 7 additions and 2 deletions
9
.github/workflows/windows.yml
vendored
9
.github/workflows/windows.yml
vendored
|
@ -112,9 +112,8 @@ jobs:
|
|||
scoop install vcpkg cmake@3.31.6
|
||||
shell: pwsh
|
||||
|
||||
# vcpkg built-in cache is not working now
|
||||
- name: Restore vcpkg artifact
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
with:
|
||||
path: src\vcpkg_installed
|
||||
key: windows-${{ matrix.os }}-vcpkg-${{ hashFiles('src/vcpkg.json') }}
|
||||
|
@ -124,6 +123,12 @@ jobs:
|
|||
vcpkg install --vcpkg-root=C:\Users\runneradmin\scoop\apps\vcpkg\current
|
||||
working-directory: src
|
||||
|
||||
- name: Save vcpkg artifact
|
||||
uses: actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
with:
|
||||
path: src\vcpkg_installed
|
||||
key: windows-${{ matrix.os }}-vcpkg-${{ hashFiles('src/vcpkg.json') }}
|
||||
|
||||
- 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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue