Skip to content

Replace deprecated set-output command with environment file#3622

Merged
sazzad16 merged 3 commits intoredis:masterfrom
jongwooo:chore/replace-deprecated-command-with-environment-file
Dec 31, 2023
Merged

Replace deprecated set-output command with environment file#3622
sazzad16 merged 3 commits intoredis:masterfrom
jongwooo:chore/replace-deprecated-command-with-environment-file

Conversation

@jongwooo
Copy link
Copy Markdown
Contributor

@jongwooo jongwooo commented Nov 24, 2023

Description

Closes #3621

Update .github/workflows/version-and-release.yml to use environment file instead of deprecated set-output command.
For more information, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

I found the workflow file 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=VERSION::$realversion"

TO-BE

echo "VERSION=$realversion" >> $GITHUB_OUTPUT

@sazzad16 sazzad16 changed the title Replace deprecated command with environment file Replace deprecated set-output command with environment file Dec 31, 2023
@sazzad16 sazzad16 merged commit fc68b11 into redis:master Dec 31, 2023
@jongwooo jongwooo deleted the chore/replace-deprecated-command-with-environment-file branch December 31, 2023 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated set-output command with environment file

3 participants