Skip to content

Commit e0637a5

Browse files
committed
Fix cache-dependency-path in GitHub Actions workflow for correct lockfile reference
1 parent c5a8894 commit e0637a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/astro.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ jobs:
5959
with:
6060
node-version: "20"
6161
cache: ${{ steps.detect-package-manager.outputs.manager }}
62-
cache-dependency-path: ${{ env.BUILD_PATH }}/${{ steps.detect-package-manager.outputs.lockfile }}
62+
# Fix the path to the lockfile by removing the BUILD_PATH variable
63+
# since we're already in the correct directory
64+
cache-dependency-path: ${{ steps.detect-package-manager.outputs.lockfile }}
6365
- name: Setup Pages
6466
id: pages
6567
uses: actions/configure-pages@v5

0 commit comments

Comments
 (0)