mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Set checks.yml pyenv and pip wheels cache keys as multiline strings
This commit is contained in:
parent
4ad03fe4ba
commit
e1cb04c45d
1 changed files with 9 additions and 2 deletions
11
.github/workflows/checks.yml
vendored
11
.github/workflows/checks.yml
vendored
|
@ -97,14 +97,21 @@ jobs:
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}${{ matrix.SEP }}pyenv
|
path: ${{ github.workspace }}${{ matrix.SEP }}pyenv
|
||||||
key: ${{ runner.os }}-pyenv-${{ hashFiles('**/requirements.*') }}-${{ hashFiles('**/setup.py') }}-${{ hashFiles('**/Makefile') }}-14-
|
key: |
|
||||||
|
${{ runner.os }}-pyenv-
|
||||||
|
${{ hashFiles('**/requirements.*') }}-
|
||||||
|
${{ hashFiles('**/setup.py') }}-
|
||||||
|
${{ hashFiles('**/Makefile') }}-14-
|
||||||
|
|
||||||
- name: Cache pip wheels
|
- name: Cache pip wheels
|
||||||
if: matrix.BUILD_TYPE == 'build'
|
if: matrix.BUILD_TYPE == 'build'
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: ${{ matrix.PIP_WHEELS_DIR }}
|
path: ${{ matrix.PIP_WHEELS_DIR }}
|
||||||
key: ${{ runner.os }}-pip-wheels-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/setup.py') }}-14-
|
key: |
|
||||||
|
${{ runner.os }}-pip-wheels-
|
||||||
|
${{ hashFiles('**/requirements.txt') }}-
|
||||||
|
${{ hashFiles('**/setup.py') }}-14-
|
||||||
|
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
|
|
Loading…
Reference in a new issue