Skip to content

Commit

Permalink
cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiristseng committed Apr 12, 2024
1 parent 36a30e5 commit 55c5120
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
uses: actions/cache@v4
id: cache-py
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-pip-${{ steps.cp.outputs.python-version }}-${{ hashFiles('requirements-jb.txt') }}
path: |
${{ env.pythonLocation }}/lib
${{ env.pythonLocation }}/bin
- name: Install pip dependencies if cache miss
if: ${{ steps.cache-py.outputs.cache-hit != 'true' }}
run: pip install -r requirements-jb.txt
Expand Down

0 comments on commit 55c5120

Please sign in to comment.