Skip to content

Commit

Permalink
fix: set Windows PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoaldamav committed Jan 17, 2024
1 parent 733a54e commit c08cf70
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
cache: 'pnpm'
- name: Install Bit
run: pnpm dlx @teambit/bvm install

- name: Set PATH for Unix
if: runner.os != 'Windows'
run: echo "PATH=$HOME/bin:$PATH" >> $GITHUB_ENV

- name: Set PATH for Windows
- name: Add Bit to PATH (Windows)
if: runner.os == 'Windows'
run: echo "PATH=$env:HOME\bin;$env:PATH" >> $GITHUB_ENV
shell: pwsh
run: echo "$env:HOME\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
shell: powershell

- name: Bit Install
run: bit install
Expand Down

0 comments on commit c08cf70

Please sign in to comment.