Skip to content

Commit 9c4cdc9

Browse files
committed
Update cache-id to fix github actions issue
1 parent f63d544 commit 9c4cdc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/cache@v1
4444
with:
4545
path: .venv
46-
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
46+
key: venv-${{ runner.os }}-py${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
4747
- name: Install dependencies
4848
run: |
4949
source $HOME/.poetry/env
@@ -81,7 +81,7 @@ jobs:
8181
uses: actions/cache@v1
8282
with:
8383
path: .venv
84-
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
84+
key: venv-${{ runner.os }}-py${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
8585
- name: Install dependencies
8686
run: |
8787
source $HOME/.poetry/env
@@ -118,7 +118,7 @@ jobs:
118118
uses: actions/cache@v1
119119
with:
120120
path: .venv
121-
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
121+
key: venv-${{ runner.os }}-py${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
122122
- name: Install dependencies
123123
run: |
124124
$env:Path += ";$env:Userprofile\.poetry\bin"

0 commit comments

Comments
 (0)