diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bc6d7f6..0435d45 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -50,7 +50,8 @@ 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 # echo $HOME @@ -59,6 +60,7 @@ jobs: # set PATH=%PATH%;C:%HOMEPATH%\.vmodules\vibe\curl\libcurl\bin # echo %PATH% run: | + [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 v -stats test vibe/src/_tests_get_test.v