mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Update entrypoint.py to use GITHUB_OUTPUT environment variable
set-output is deprecated and was replaced by the GITHUB_OUTPUT environment variable.
This commit is contained in:
parent
a2071194e5
commit
b41c54fb73
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ def set_output(repository_root, workdir):
|
|||
path = os.path.normpath(
|
||||
os.path.join(repository_root, workdir, "bin", filename)
|
||||
)
|
||||
print(f"::set-output name=filename::{path}")
|
||||
|
||||
with open(os.environ["GITHUB_OUTPUT"], "a") as gofh:
|
||||
print(f'filename={path}', file=gofh)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue