spring-projects / spring-statemachine

Spring Statemachine is a framework for application developers to use state machine concepts with Spring.
1.54k stars 607 forks source link

Replace deprecated command with environment file #1113

Open jongwooo opened 1 year ago

jongwooo commented 1 year ago

Description

Closes #1112

Update .github/workflows/release-ga.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=project-version::$PROJECT_VERSION"

TO-BE

echo "project-version=$PROJECT_VERSION" >> $GITHUB_OUTPUT