mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
fix: add rokit to path on pwsh too
This commit is contained in:
parent
24d5dc5cdc
commit
54086ab97f
1 changed files with 6 additions and 0 deletions
|
@ -52,9 +52,15 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Add Rokit to PATH
|
- name: Add Rokit to PATH
|
||||||
|
if: runner.os != 'Windows'
|
||||||
run: echo "$HOME/.rokit/bin" >> $GITHUB_PATH
|
run: echo "$HOME/.rokit/bin" >> $GITHUB_PATH
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Add Rokit to PATH
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: echo "$HOME/.rokit/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||||
|
shell: powershell
|
||||||
|
|
||||||
- name: Create auth file
|
- name: Create auth file
|
||||||
run: |
|
run: |
|
||||||
cat > $HOME/.rokit/auth.toml << EOF
|
cat > $HOME/.rokit/auth.toml << EOF
|
||||||
|
|
Loading…
Reference in a new issue