Skip to content

Commit 66a6238

Browse files
committed
fix(github-actions): update pnpm cache path
This fixes the pnpm cache path
1 parent 0c3f8e6 commit 66a6238

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

github-actions/setup-wsl/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
required: false
1414
cache_version:
1515
description: Version that can be used to invalidate the cache
16-
default: 1
16+
default: 2
1717
required: false
1818

1919
outputs:
@@ -109,11 +109,11 @@ runs:
109109
echo "Repo path is: $repo_path"
110110
111111
- name: Cache for nvm, pnpm profile caches.
112-
uses: actions/cache@v4
112+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
113113
with:
114114
path: |
115115
C:\\wsl_root\\root\\.nvm\\versions
116-
C:\\wsl_root\\root\\.pnpm-store\\v3
116+
C:\\wsl_root\\root\\.local\\share\\pnpm\\store\\
117117
key: "${{ runner.os }}-wsl-cache-v${{inputs.cache_version}}-${{hashFiles('**/.nvmrc')}}-${{hashFiles('**/pnpm-lock.yaml')}}"
118118
restore-keys: |
119119
${{ runner.os }}-wsl-cache-v${{inputs.cache_version}}-

0 commit comments

Comments
 (0)