fix: add rokit to path on pwsh too

This commit is contained in:
Erica Marigold 2024-08-04 16:26:13 +05:30 committed by GitHub
parent 24d5dc5cdc
commit 54086ab97f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,9 +52,15 @@ runs:
shell: bash
- name: Add Rokit to PATH
if: runner.os != 'Windows'
run: echo "$HOME/.rokit/bin" >> $GITHUB_PATH
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
run: |
cat > $HOME/.rokit/auth.toml << EOF