mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add matrix.os to cache key (#2671)
* Add matrix.os to cache key * Use multi-line string instead of array ref https://github.com/actions/cache/issues/44
This commit is contained in:
parent
a58b4eee25
commit
b41a19f92f
Notes:
git
2019-11-12 17:22:44 +09:00
Merged-By: znz <zn@mbf.nifty.com>
1 changed files with 4 additions and 2 deletions
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
|
@ -25,8 +25,9 @@ jobs:
|
|||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: C:\vcpkg\downloads
|
||||
key: ${{ runner.os }}-vcpkg-download-${{ github.sha }}
|
||||
key: ${{ runner.os }}-vcpkg-download-${{ matrix.os }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-vcpkg-download-${{ matrix.os }}-
|
||||
${{ runner.os }}-vcpkg-download-
|
||||
- name: Install libraries with vcpkg
|
||||
run: |
|
||||
|
@ -34,8 +35,9 @@ jobs:
|
|||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
||||
key: ${{ runner.os }}-chocolatey-${{ github.sha }}
|
||||
key: ${{ runner.os }}-chocolatey-${{ matrix.os }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-chocolatey-${{ matrix.os }}-
|
||||
${{ runner.os }}-chocolatey-
|
||||
- name: Install libraries with chocolatey
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue