Skip to content

Commit e184f8e

Browse files
authored
Merge pull request #36 from nicgrayson/master
update output syntax
2 parents 425a06a + 79f704a commit e184f8e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

entrypoint.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ fi
107107

108108
if [ -z "${BUMP_LEVEL}" ]; then
109109
echo "PR with labels for bump not found. Do nothing."
110-
echo "::set-output name=skip::true"
110+
echo "skip=true" >> "$GITHUB_OUTPUT"
111111
exit
112112
fi
113113
echo "Bump ${BUMP_LEVEL} version"
@@ -143,11 +143,11 @@ if [ -z "${NEXT_VERSION}" ]; then
143143
echo "Cannot find next version."
144144
exit 1
145145
fi
146-
echo "::set-output name=current_version::${CURRENT_VERSION}"
147-
echo "::set-output name=next_version::${NEXT_VERSION}"
146+
echo "current_version=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
147+
echo "next_version=${NEXT_VERSION}" >> "$GITHUB_OUTPUT"
148148

149149
TAG_MESSAGE="${NEXT_VERSION}: PR #${PR_NUMBER} - ${PR_TITLE}"
150-
echo "::set-output name=message::${TAG_MESSAGE}"
150+
echo "message=${TAG_MESSAGE}" >> "$GITHUB_OUTPUT"
151151

152152
if [ "${INPUT_DRY_RUN}" = "true" ]; then
153153
echo "DRY_RUN=true. Do not tag next version."

0 commit comments

Comments
 (0)