Skip to content

Commit

Permalink
attempt to add nasm to path in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturKovacs committed Apr 13, 2024
1 parent 047a3a5 commit 60082c0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,11 @@ jobs:
$newPath = "$($env:SystemDrive)\Program Files\NASM\"
$currentPath = [Environment]::GetEnvironmentVariable("Path", "Machine")
# Add the new path to the existing PATH
$newPath = "$newPath;$currentPath"
# Set the updated PATH environment variable
[Environment]::SetEnvironmentVariable("Path", $newPath, "Machine")
echo "$newPath;$currentPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "PATH set to: $Env:PATH"
echo "Set the PATH environment variable to:"
echo "$newPath;$currentPath"
# From: https://docs.rs/system-deps/6.2.2/system_deps/index.html
echo "SYSTEM_DEPS_BUILD_INTERNAL=always" >> $env:GITHUB_ENV
Expand All @@ -78,6 +75,7 @@ jobs:
- name: Build executable
run: |
echo "SYSTEM_DEPS_LINK is: $Env:SYSTEM_DEPS_LINK"
echo "PATH is: $Env:PATH"
cargo build --release --features=networking,avif
echo "------- meson log ----------"
Expand Down

0 comments on commit 60082c0

Please sign in to comment.