File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ ${check_output}
4343 echo " ${check_payload} " | curl -s -S -H " Authorization: token ${GITHUB_ACCESS_TOKEN} " --header " Content-Type: application/json" --data @- " ${check_comment_url} " > /dev/null
4444 fi
4545
46- echo ::set-output name=promtool_output::${check_output}
46+ # Updated to new GITHUB_OUTPUT format https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
47+ # Modified to support multi-line output https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
48+ echo " promtool_output<<EOF" >> " $GITHUB_OUTPUT "
49+ echo " ${check_output} " >> " $GITHUB_OUTPUT "
50+ echo " EOF" >> " $GITHUB_OUTPUT "
4751 exit ${check_exit_code}
4852}
You can’t perform that action at this time.
0 commit comments