Skip to content

Commit

Permalink
ps env path 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2024
1 parent e607e5d commit 6a28ded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
run: ~/v/v symlink
- run: ls ~/.vmodules/vibe/curl/libcurl/bin
- run: |
# $env:PATH += ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin"
$env:PATH += ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin"
[System.Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin", [System.EnvironmentVariableTarget]::Machine)
[System.Environment]::GetEnvironmentVariable("PATH", [System.EnvironmentVariableTarget]::Machine)
- name: Run tests
Expand All @@ -60,6 +60,7 @@ jobs:
# set PATH=%PATH%;C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin
# echo %PATH%
run: |
$env:PATH += ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin"
[System.Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin", [System.EnvironmentVariableTarget]::Machine)
[System.Environment]::GetEnvironmentVariable("PATH", [System.EnvironmentVariableTarget]::Machine)
cd ~/.vmodules
Expand Down

0 comments on commit 6a28ded

Please # to comment.