Skip to content

Commit

Permalink
bashify again
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Aug 28, 2023
1 parent 362c0ac commit 74fbdc9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,12 @@ jobs:
condition:
equal: [node/windows, << parameters.executor >>]
steps:
- node/install-packages
- run:
name: Windows Setup
shell: powershell.exe -ExecutionPolicy Bypass
shell: bash
command: |
Write-Output "Installing WiX Toolset"
choco install --no-progress -y wixtoolset
Write-Output "Reloading PATH"
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
[Environment]::SetEnvironmentVariable("PATH", $env:Path + "C:\Program Files (x86)\WiX Toolset v3.11\bin;", "Machine")
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
echo 'export PATH;C:\Program Files (x86)\WiX Toolset v3.11\bin' >> "$BASH_ENV"
cd 'C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\run-script'
npm install node-gyp@latest
- when:
Expand Down

0 comments on commit 74fbdc9

Please sign in to comment.