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 command with environment file #1500

Merged
merged 1 commit into from May 11, 2023
Merged

Replace deprecated command with environment file #1500

merged 1 commit into from May 11, 2023

Conversation

jongwooo
Copy link
Contributor

@jongwooo jongwooo commented Apr 30, 2023

Description

Fix #1499

Update workflows to use environment file instead of deprecated set-output command.

I found the workflow files that use set-output command through the following command:

$ find . -name '*.yml' -o -name '*.yaml' | xargs egrep '\bset-output\b'

AS-IS

echo '::set-output name=ID::'$id
run: echo "::set-output name=uuid::$(uuidgen)"

TO-BE

echo "ID=$id" >> $GITHUB_OUTPUT
run: echo "uuid=$(uuidgen)" >> $GITHUB_OUTPUT

Test

N/A

Additional Information

For more information, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

@jongwooo jongwooo requested a review from a team as a code owner April 30, 2023 15:35
@manno manno merged commit c3f0123 into rancher:master May 11, 2023
11 checks passed
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

Successfully merging this pull request may close these issues.

Replace deprecated set-output command with environment file
2 participants