diff --git a/github-actions/setup-wsl/action.yml b/github-actions/setup-wsl/action.yml index 94aaecca3..3c5e399b9 100644 --- a/github-actions/setup-wsl/action.yml +++ b/github-actions/setup-wsl/action.yml @@ -13,7 +13,7 @@ inputs: required: false cache_version: description: Version that can be used to invalidate the cache - default: 1 + default: 2 required: false outputs: @@ -109,11 +109,11 @@ runs: echo "Repo path is: $repo_path" - name: Cache for nvm, pnpm profile caches. - uses: actions/cache@v4 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: | C:\\wsl_root\\root\\.nvm\\versions - C:\\wsl_root\\root\\.pnpm-store\\v3 + C:\\wsl_root\\root\\.local\\share\\pnpm\\store\\ key: "${{ runner.os }}-wsl-cache-v${{inputs.cache_version}}-${{hashFiles('**/.nvmrc')}}-${{hashFiles('**/pnpm-lock.yaml')}}" restore-keys: | ${{ runner.os }}-wsl-cache-v${{inputs.cache_version}}-