Skip to content

Commit 8320c57

Browse files
authored
Merge pull request #13 from atugushev/deprecated-add-path
Fix removed add-path command
2 parents 8e58e3c + 34994b1 commit 8320c57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/install-python

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ def main() -> int:
8181
if _print_call(*cmd):
8282
return 1
8383

84-
print(f'::add-path::{bindir}')
84+
with open(os.environ['GITHUB_PATH'], 'a') as fp:
85+
fp.write(f'{bindir}\n')
86+
8587
return 0
8688

8789

0 commit comments

Comments
 (0)