Skip to content

Replace deprecated command with environment file - #11570

Merged
LeeLenaleee merged 1 commit into
chartjs:masterfrom
jongwooo:chore/replace-deprecated-command-with-environment-file
Nov 6, 2023
Merged

LeeLenaleee merged 1 commit into
chartjs:masterfrom
jongwooo:chore/replace-deprecated-command-with-environment-file

Conversation

@jongwooo

@jongwooo jongwooo commented Nov 4, 2023

Copy link
Copy Markdown
Contributor

Description

Update .github/workflows/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

run: echo "::set-output name=version::${TAG:1}"

TO-BE

run: echo "version=${TAG:1}" >> $GITHUB_OUTPUT

Signed-off-by: Jongwoo Han <jongwooo.han@gmail.com>
@LeeLenaleee LeeLenaleee added this to the Version 4.4.1 milestone Nov 6, 2023
@LeeLenaleee
LeeLenaleee merged commit b22e46c into chartjs:master Nov 6, 2023
@jongwooo
jongwooo deleted the chore/replace-deprecated-command-with-environment-file branch November 6, 2023 17:42
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.

3 participants