diff --git a/action.yml b/action.yml index bd31083..3829ca8 100644 --- a/action.yml +++ b/action.yml @@ -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