Skip to content

Commit fcd059e

Browse files
authored
1 parent 3db759a commit fcd059e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ runs:
4343
fi
4444
echo "Using github_token from inputs"
4545
echo "GH_TOKEN=${{ inputs.github_token }}" >> $GITHUB_ENV
46-
echo "::set-output name=bot-token::${{ inputs.github_token }}"
46+
echo "bot-token=${{ inputs.github_token }}" >> $GITHUB_OUTPUT
4747
else
4848
echo "Using gh_token from inputs"
4949
echo "GH_TOKEN=${{ inputs.gh_token }}" >> $GITHUB_ENV
50-
echo "::set-output name=bot-token::${{ inputs.gh_token }}"
50+
echo "bot-token=${{ inputs.gh_token }}" >> $GITHUB_OUTPUT
5151
fi
5252
else
53-
echo "::set-output name=bot-token::$GH_TOKEN"
53+
echo "bot-token=$GH_TOKEN" >> $GITHUB_OUTPUT
5454
fi
5555
5656
if [ -z "$BOT_NAME"]
@@ -65,7 +65,7 @@ runs:
6565
fi
6666
echo "BOT_NAME=$BOT_NAME" >> $GITHUB_ENV
6767
fi
68-
echo "::set-output name=bot-name::$BOT_NAME"
68+
echo "bot-name=$BOT_NAME" >> $GITHUB_OUTPUT
6969
7070
if [ -z "$BOT_EMAIL"]
7171
then
@@ -79,15 +79,15 @@ runs:
7979
fi
8080
echo "BOT_EMAIL=$BOT_EMAIL" >> $GITHUB_ENV
8181
fi
82-
echo "::set-output name=bot-email::$BOT_EMAIL"
82+
echo "bot-email=$BOT_EMAIL" >> $GITHUB_OUTPUT
8383
8484
if [ -z "$BOT_AUTHOR"]
8585
then
8686
echo "Using default BOT_NAME <BOT_EMAIL> as BOT_AUTHOR"
8787
BOT_AUTHOR="$BOT_NAME <$BOT_EMAIL>"
8888
echo "BOT_AUTHOR=$BOT_AUTHOR" >> $GITHUB_ENV
8989
fi
90-
echo "::set-output name=bot-author::$BOT_AUTHOR"
90+
echo "bot-author=$BOT_AUTHOR" >> $GITHUB_OUTPUT
9191
9292
git config --global user.name $BOT_NAME
9393
git config --global user.email $BOT_EMAIL

0 commit comments

Comments
 (0)