File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,11 @@ jobs:
62
62
63
63
$newPath = "$($env:SystemDrive)\Program Files\NASM\"
64
64
$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
65
-
66
- # Add the new path to the existing PATH
67
- $newPath = "$newPath;$currentPath"
68
65
69
- # Set the updated PATH environment variable
70
- [Environment]::SetEnvironmentVariable("Path", $newPath, "Machine")
66
+ echo "$newPath;$currentPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
71
67
72
- echo "PATH set to: $Env:PATH"
68
+ echo "Set the PATH environment variable to:"
69
+ echo "$newPath;$currentPath"
73
70
74
71
# From: https://docs.rs/system-deps/6.2.2/system_deps/index.html
75
72
echo "SYSTEM_DEPS_BUILD_INTERNAL=always" >> $env:GITHUB_ENV
78
75
- name : Build executable
79
76
run : |
80
77
echo "SYSTEM_DEPS_LINK is: $Env:SYSTEM_DEPS_LINK"
78
+ echo "PATH is: $Env:PATH"
81
79
82
80
cargo build --release --features=networking,avif
83
81
echo "------- meson log ----------"
You can’t perform that action at this time.
0 commit comments