Skip to content

Commit

Permalink
Add to GITHUB_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Jan 19, 2025
1 parent f3a74ca commit 2f86667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
# Work around https://github.com/actions/setup-python/issues/1005
$ScriptsPath = python -c "import sysconfig,os; print(sysconfig.get_path('scripts', f'{os.name}_user'))"
echo $ScriptsPath
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$ScriptsPath", "Machine")
$env:Path += ";$ScriptsPath"
Add-Content $env:GITHUB_PATH $ScriptsPath
- name: Build and install
run: pip install . -v --user
Expand Down

0 comments on commit 2f86667

Please sign in to comment.