Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Replace deprecated command with environment file#45

Merged
marcelpinto merged 1 commit intogoogle:mainfrom
jongwooo:chore/replace-deprecated-command-with-environment-file
Jul 17, 2023
Merged

Replace deprecated command with environment file#45
marcelpinto merged 1 commit intogoogle:mainfrom
jongwooo:chore/replace-deprecated-command-with-environment-file

Conversation

@jongwooo
Copy link
Contributor

@jongwooo jongwooo commented Jul 3, 2023

Description

Closes #44

Update workflows 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 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=TARGET::$TARGET"

TO-BE

echo "TARGET=$TARGET" >> $GITHUB_OUTPUT

Copy link
Contributor

@marcelpinto marcelpinto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR

@marcelpinto marcelpinto merged commit 80a879c into google:main Jul 17, 2023
@jongwooo jongwooo deleted the chore/replace-deprecated-command-with-environment-file branch July 17, 2023 10:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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