Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the use of deprecated set-output command in image release workflow #881

Closed
eljog opened this issue Dec 8, 2023 · 1 comment
Closed

Comments

@eljog
Copy link
Member

eljog commented Dec 8, 2023

set-output command used in the action workflows are deprecated

run: echo "::set-output name=tag::$(echo "${{ github.ref }}" | grep -oP 'refs/tags/\K(.+)')"

replace it according to this blog post

Warnings on action runs:

The `set-output` command is deprecated and will be disabled soon.
Please upgrade to using Environment Files. For more information see:
 https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
@markozivic
Copy link
Contributor

I resolved this by utilizing the GitHub environment file to replace the use of the deprecated command. My PR is merged, so I think this issue can be closed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants