Skip to content

Commit fbf62a8

Browse files
committed
Update cd-dockerized-hab-package-security-scan.yaml
1 parent 5680681 commit fbf62a8

1 file changed

Lines changed: 16 additions & 13 deletions

File tree

.github/workflows/cd-dockerized-hab-package-security-scan.yaml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -140,19 +140,22 @@ jobs:
140140
steps:
141141
- name: Install Chef Habitat (Windows)
142142
run: |
143-
Set-ExecutionPolicy Bypass -Scope Process -Force;
144-
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
145-
iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.ps1'))
146-
$env:PATH += ";~\bin\hab-1.6.1245-20250905141844-x86_64-windows"
147-
Write-Host "one"
148-
ls ~/bin
149-
Write-Host "two"
150-
ls c:/users/runneradmin/bin
151-
Write-Host "three"
152-
ls c:/hab
153-
ls "~\bin\hab-1.6.1245-20250905141844-x86_64-windows"
154-
155-
Write-Host "end"
143+
choco install habitat
144+
145+
# Set-ExecutionPolicy Bypass -Scope Process -Force;
146+
# [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
147+
# iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.ps1'))
148+
# $env:PATH += ";~\bin\hab-1.6.1245-20250905141844-x86_64-windows"
149+
# Write-Host "one"
150+
# ls ~/bin
151+
# Write-Host "two"
152+
# ls c:/users/runneradmin/bin
153+
# Write-Host "three"
154+
# ls c:/hab
155+
# ls "~\bin\hab-1.6.1245-20250905141844-x86_64-windows"
156+
157+
# Write-Host "end"
158+
hab --version
156159
157160
- name: Configure Habitat (Windows)
158161
run: |

0 commit comments

Comments
 (0)