From 89c87c51e2b4514b508d65baacecfaae1910f1c8 Mon Sep 17 00:00:00 2001 From: ben little Date: Fri, 7 Jun 2024 00:25:06 -0600 Subject: [PATCH] hashfiles with path rel to GITHUB_WORKSPACE --- .github/workflows/pages.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 88b684e..3990d24 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -32,7 +32,7 @@ jobs: uses: actions/cache@v4 with: path: dist - key: ${{ runner.os }}-cargo-${{ hashFiles('./**', '../.github/actions/pages.yaml') }} + key: ${{ runner.os }}-cargo-${{ hashFiles('./ui/**', './.github/workflows/pages.yaml') }} restore-keys: ${{ runner.os }}-cargo- - name: Cache Dependencies if: steps.cache-dist.outputs.cache-hit != 'true'