File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments