From 54086ab97fb507dc9521534c21e91421db79a7c0 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 4 Aug 2024 16:26:13 +0530 Subject: [PATCH] fix: add rokit to path on pwsh too --- action.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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