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

Replace deprecated set-output in GitHub Actions before 31st May 2023 #65

Open
apupier opened this issue Feb 3, 2023 · 0 comments · May be fixed by #66
Open

Replace deprecated set-output in GitHub Actions before 31st May 2023 #65

apupier opened this issue Feb 3, 2023 · 0 comments · May be fixed by #66
Labels
enhancement New feature or request

Comments

@apupier
Copy link
Member

apupier commented Feb 3, 2023

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

used in 14 places in all organization.

Mentioned in the template here:

run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"

see also example of warning annotation:
image

Maybe worth awaiting validation on one of the project to do the change

@apupier apupier added the enhancement New feature or request label Feb 3, 2023
apupier added a commit to apupier/com-pas-contributing that referenced this issue Feb 3, 2023
Completely removing the intermediate step calculating the tag_name as
GitHub Actions is now providing this value in the context directly.
See https://github.com/orgs/community/discussions/26686 and
https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

fixes com-pas#65

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
apupier added a commit to apupier/com-pas-contributing that referenced this issue Mar 10, 2023
Completely removing the intermediate step calculating the tag_name as
GitHub Actions is now providing this value in the context directly.
See https://github.com/orgs/community/discussions/26686 and
https://docs.github.com/en/actions/learn-github-actions/contexts#github-context

fixes com-pas#65

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant