diff --git a/bin/install-python b/bin/install-python index 0eea44b..f6a59e2 100755 --- a/bin/install-python +++ b/bin/install-python @@ -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