Skip to content

Commit bfa0c33

Browse files
committed
fix: use echo "{name}={value}" >> $GITHUB_OUTPUT for setting output variables
The idiom: echo "::set-output name={name}::{value}" is deprecated and causes github to issue the warning: Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ This commit replaces it with: echo "{name}={value}" >> $GITHUB_OUTPUT See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent 7e4119e commit bfa0c33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ wait_for_workflow_to_finish() {
155155
echo "Waiting for workflow to finish:"
156156
echo "The workflow id is [${last_workflow_id}]."
157157
echo "The workflow logs can be found at ${last_workflow_url}"
158-
echo "::set-output name=workflow_id::${last_workflow_id}"
159-
echo "::set-output name=workflow_url::${last_workflow_url}"
158+
echo "workflow_id=${last_workflow_id}" >> $GITHUB_OUTPUT
159+
echo "workflow_url=${last_workflow_url}" >> $GITHUB_OUTPUT
160160
echo ""
161161

162162
conclusion=null

0 commit comments

Comments
 (0)