зеркало из https://github.com/github/ruby.git
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:
Родитель
a58b4eee25
Коммит
b41a19f92f
|
@ -25,8 +25,9 @@ jobs:
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: C:\vcpkg\downloads
|
path: C:\vcpkg\downloads
|
||||||
key: ${{ runner.os }}-vcpkg-download-${{ github.sha }}
|
key: ${{ runner.os }}-vcpkg-download-${{ matrix.os }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
${{ runner.os }}-vcpkg-download-${{ matrix.os }}-
|
||||||
${{ runner.os }}-vcpkg-download-
|
${{ runner.os }}-vcpkg-download-
|
||||||
- name: Install libraries with vcpkg
|
- name: Install libraries with vcpkg
|
||||||
run: |
|
run: |
|
||||||
|
@ -34,8 +35,9 @@ jobs:
|
||||||
- uses: actions/cache@v1
|
- uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
|
||||||
key: ${{ runner.os }}-chocolatey-${{ github.sha }}
|
key: ${{ runner.os }}-chocolatey-${{ matrix.os }}-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
${{ runner.os }}-chocolatey-${{ matrix.os }}-
|
||||||
${{ runner.os }}-chocolatey-
|
${{ runner.os }}-chocolatey-
|
||||||
- name: Install libraries with chocolatey
|
- name: Install libraries with chocolatey
|
||||||
run: |
|
run: |
|
||||||
|
|
Загрузка…
Ссылка в новой задаче