Skip to content

Commit f3fafae

Browse files
MESH-2092 pin cache key to the python selected in the setup python step
1 parent 06785d7 commit f3fafae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/merge-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
path: |
3636
.venv
37-
key: ${{ runner.os }}-v3-poetry-py3.9-${{ hashFiles('./poetry.lock') }}
37+
key: ${{ runner.os }}-v3-poetry-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('./poetry.lock') }}
3838

3939
- name: git reset
4040
run: git reset --hard

.github/workflows/pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
with:
112112
path: |
113113
.venv
114-
key: ${{ runner.os }}-v3-poetry-py3.9-${{ hashFiles('./poetry.lock') }}
114+
key: ${{ runner.os }}-v3-poetry-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('./poetry.lock') }}
115115

116116
- name: git reset
117117
run: git reset --hard
@@ -229,7 +229,7 @@ jobs:
229229
with:
230230
path: |
231231
.venv
232-
key: ${{ runner.os }}-v3-poetry-py3.9-${{ hashFiles('./poetry.lock') }}
232+
key: ${{ runner.os }}-v3-poetry-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('./poetry.lock') }}
233233

234234
- name: git reset
235235
run: git reset --hard

0 commit comments

Comments
 (0)