Skip to content

Commit

Permalink
Setting env in machine
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayush-Kaushik committed Jun 30, 2024
1 parent f7150a0 commit 2d8e6dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
Invoke-WebRequest -Uri https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip -OutFile upx.zip
Expand-Archive upx.zip "${env:GITHUB_WORKSPACE}\upx"
$upxPath = "${env:GITHUB_WORKSPACE}\upx\upx-3.96-win64\"
[Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";" + $upxPath, [System.EnvironmentVariableTarget]::Process)
[Environment]::SetEnvironmentVariable("PATH", $env:PATH + ";" + $upxPath, [System.EnvironmentVariableTarget]::Machine)
- name: Check contents of workspace
run: |
Expand Down

0 comments on commit 2d8e6dd

Please sign in to comment.