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 #307

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

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

apupier opened this issue Feb 3, 2023 · 0 comments · May be fixed by #308
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 2 places:

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

echo "##[set-output name=sonar_opts;]$(echo -Dsonar.host.url=https://sonarcloud.io \

see also warning annotation:
image

relates to com-pas/contributing#65

@apupier apupier added the enhancement New feature or request label Feb 3, 2023
apupier added a commit to apupier/compas-scl-data-service that referenced this issue Feb 3, 2023
apupier added a commit to apupier/compas-scl-data-service 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

part of com-pas#307

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/compas-scl-data-service that referenced this issue Feb 22, 2023
apupier added a commit to apupier/compas-scl-data-service that referenced this issue Feb 22, 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

part of com-pas#307

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/compas-scl-data-service that referenced this issue Feb 22, 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

part of com-pas#307

Signed-off-by: Aurélien Pupier <[email protected]>
apupier added a commit to apupier/compas-scl-data-service that referenced this issue Mar 3, 2023
apupier added a commit to apupier/compas-scl-data-service that referenced this issue Mar 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

part of com-pas#307

Signed-off-by: Aurélien Pupier <[email protected]>
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