Skip to content

Commit

Permalink
Merge pull request #13 from atugushev/deprecated-add-path
Browse files Browse the repository at this point in the history
Fix removed add-path command
  • Loading branch information
asottile authored Nov 19, 2020
2 parents 8e58e3c + 34994b1 commit 8320c57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/install-python
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def main() -> int:
if _print_call(*cmd):
return 1

print(f'::add-path::{bindir}')
with open(os.environ['GITHUB_PATH'], 'a') as fp:
fp.write(f'{bindir}\n')

return 0


Expand Down

0 comments on commit 8320c57

Please sign in to comment.