Skip to content

Commit

Permalink
The set-output command is deprecated (#63)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
grzegorz-faryna-mergermarket committed Nov 10, 2022
1 parent d7939b4 commit 321ecc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ wait_for_workflow_to_finish() {
echo "Waiting for workflow to finish:"
echo "The workflow id is [${last_workflow_id}]."
echo "The workflow logs can be found at ${last_workflow_url}"
echo "::set-output name=workflow_id::${last_workflow_id}"
echo "::set-output name=workflow_url::${last_workflow_url}"
echo "workflow_id=${last_workflow_id}" >> $GITHUB_OUTPUT
echo "workflow_url=${last_workflow_url}" >> $GITHUB_OUTPUT
echo ""

if [ -n "${INPUT_COMMENT_DOWNSTREAM_URL}" ]; then
Expand All @@ -193,7 +193,7 @@ wait_for_workflow_to_finish() {

echo "Checking conclusion [${conclusion}]"
echo "Checking status [${status}]"
echo "::set-output name=conclusion::${conclusion}"
echo "conclusion=${conclusion}" >> $GITHUB_OUTPUT
done

if [[ "${conclusion}" == "success" && "${status}" == "completed" ]]
Expand Down

0 comments on commit 321ecc3

Please sign in to comment.