Skip to content

Commit 40b979e

Browse files
committed
Will adding corepack to the PATH work?
1 parent 0bb7536 commit 40b979e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/actions/src/init/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ runs:
3333
run: corepack enable
3434
shell: ${{ inputs.shell }}
3535

36+
- name: Set PATH (Windows)
37+
if: ${{ inputs.shell == 'pwsh' }}
38+
shell: ${{ inputs.shell }}
39+
run: echo "$env:LOCALAPPDATA\Corepack" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
40+
3641
- name: Use Node.js 💻
3742
uses: actions/setup-node@v4
3843
with:

0 commit comments

Comments
 (0)