Skip to content

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

merge

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
report_failure() {
33
echo "MERGE_FAILED=1" >> "$GITHUB_ENV"
4-
echo '::set-output name=status::failed'
5-
echo "::set-output name=message::$1"
4+
echo 'status=failed' >> "$GITHUB_OUTPUT"
5+
echo "message=$1" >> "$GITHUB_OUTPUT"
66
if [ -z "$INPUT_DO_NOT_REPORT" ]; then
77
echo "::error ::$1"
88
fi
@@ -39,4 +39,4 @@ GITHUB_HEAD_SHA=$(git rev-parse FETCH_HEAD)
3939
git merge -m "Merge $GITHUB_HEAD_SHA into $GITHUB_BASE_SHA" FETCH_HEAD ||
4040
report_failure "Can't generate merge; there's probably a conflict. Resolve it to get workflow feedback."
4141

42-
echo '::set-output name=status::success'
42+
echo 'status=success' >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)