Skip to content

Commit 7be7b4b

Browse files
committed
Fix how multiple paths are specified for setup-python's cache-dependency-path
1 parent e823b10 commit 7be7b4b

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/actions/build-vsix/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ runs:
2727
with:
2828
python-version: 3.6
2929
cache: 'pip'
30-
cache-dependency-path: ['requirements.txt', 'build/debugger-install-requirements.txt', 'jedils_requirements.txt']
30+
cache-dependency-path: |
31+
requirements.txt
32+
build/debugger-install-requirements.txt
33+
jedils_requirements.txt
3134
3235
- name: Upgrade Pip
3336
run: python -m pip install -U pip

.github/actions/smoke-tests/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ runs:
2323
with:
2424
python-version: '3.9'
2525
cache: 'pip'
26-
cache-dependency-path: ['build/test-requirements.txt', 'requirements.txt', 'build/smoke-test-requirements.txt']
26+
cache-dependency-path: |
27+
build/test-requirements.txt
28+
requirements.txt
29+
build/smoke-test-requirements.txt
2730
2831
- name: Install dependencies (npm ci)
2932
run: npm ci --prefer-offline

.github/workflows/pr-check.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,11 @@ jobs:
376376
with:
377377
python-version: ${{ env.PYTHON_VERSION }}
378378
cache: 'pip'
379-
cache-dependency-path: ['requirements.txt', 'jedils_requirements.txt', 'build/test-requirements.txt', 'build/functional-test-requirements.txt']
379+
cache-dependency-path: |
380+
requirements.txt
381+
jedils_requirements.txt
382+
build/test-requirements.txt
383+
build/functional-test-requirements.txt
380384
381385
- name: Install Python requirements
382386
run: |

0 commit comments

Comments
 (0)