Skip to content

Commit

Permalink
Fix GitHub Actions cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharth-krishna authored Feb 26, 2024
1 parent 9f9a7e6 commit 8f35540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
id: cache
uses: actions/cache/restore@v4
with:
path: xl2times/.cache
path: ${{ github.workspace }}/xl2times/.cache
# Cache key is refs of the input xlsx repos, since that's what is cached
key: ${{ runner.os }}-py-${{ env.PY_VERSION }}-${{ env.REF_demos-xlsx }}-${{ env.REF_tim }}
# If we can't find the exact key for the TIM repo, still use the cache if the demos repo ref matches
Expand Down Expand Up @@ -166,5 +166,5 @@ jobs:
# Save the cache even if the regression tests fail
if: always() && !steps.cache-restore.outputs.cache-hit
with:
path: xl2times/.cache
path: ${{ github.workspace }}xl2times/.cache
key: ${{ runner.os }}-py-${{ env.PY_VERSION }}-${{ env.REF_demos-xlsx }}-${{ env.REF_tim }}

0 comments on commit 8f35540

Please sign in to comment.