Skip to content

Commit

Permalink
install vscode and check full path
Browse files Browse the repository at this point in the history
Signed-off-by: midays <[email protected]>
  • Loading branch information
midays committed Nov 25, 2024
1 parent 37db596 commit 5655726
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/windows-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@ jobs:
runs-on: ${{ needs.start-ec2-instance.outputs.instance_label }}
steps:

# - name: Install Chocolatey
# run: |
# Set-ExecutionPolicy Bypass -Scope Process -Force;
# [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
# iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# shell: powershell
#
# - name: Install VSCode
# run: choco install vscode -y
# shell: powershell
#
# - name: Install Node.js
# run: choco install nodejs -y
# shell: powershell
- name: Install Chocolatey
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force;
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
shell: powershell

- name: Install VSCode
run: choco install vscode -y
shell: powershell

# - name: Update PATH for VSCode
# shell: powershell
# run: |
# $env:PATH += ";C:\Program Files\Microsoft VS Code\bin"
- name: Install Node.js
run: choco install nodejs -y
shell: powershell

- name: Update PATH for VSCode
shell: powershell
run: |
$env:PATH += ";C:\Program Files\Microsoft VS Code\bin"
- name: Check Env PATH variable
shell: powershell
Expand Down

0 comments on commit 5655726

Please sign in to comment.