Skip to content

Commit

Permalink
Don't use deprecated ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Apr 27, 2024
1 parent 7efad97 commit 60e4fe5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tools/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,14 @@ def prepare_deployment(args):
if os.getenv("CI") == "true":
# Set GitHub Actions job output
print(
"::set-output name=artifact-{}-{}::{}".format(
download_slug,
package_slug,
json.dumps(metadata),
)
'echo "{artifact-'
+ download_slug
+ "-"
+ package_slug
+ "}={"
+ json.dumps(metadata)
+ '}" >> $GITHUB_OUTPUT'
)

return 0


Expand Down

0 comments on commit 60e4fe5

Please sign in to comment.