From 55c5120083dbd63f502481941a3bb05dd29cbec8 Mon Sep 17 00:00:00 2001 From: Wen-Wei Tseng Date: Fri, 12 Apr 2024 16:55:38 +0800 Subject: [PATCH] cache key --- .github/workflows/linkcheck.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 0e5c419..8c2fe93 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -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