Skip to content

Commit 5b79a75

Browse files
committed
add cache hit condtion in python-requirements job
1 parent 1426b34 commit 5b79a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pull-request-management.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ jobs:
112112
python-version: ${{ matrix.python_version }}
113113
cache: 'pip'
114114
- name: Install Python requirements
115-
if: steps.cache-ci.outputs.cache-hit != 'true' || steps.cache-dev.outputs.cache-hit != 'true'
115+
if: steps.setup-python.outputs.cache-hit != 'true'
116116
run: |
117-
pip install -r .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade
117+
pip install -r --cache-dir ~/.cache/pip .github/requirements-ci.txt -r ansible_collections/arista/avd/requirements-dev.txt --upgrade
118118
119119
# # ----------------------------------- #
120120
# # EOS CLI CONFIG GEN MOLECULE

0 commit comments

Comments
 (0)