From e607e5d4e0ad340b088948b744624c9fc831b5a9 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Mon, 11 Nov 2024 05:36:06 +0100 Subject: [PATCH] ps env --- .github/workflows/windows.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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