Skip to content

Commit

Permalink
Replace removed add-path command
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev committed Nov 19, 2020
1 parent dafca65 commit 34994b1
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 34994b1

Please sign in to comment.