2 Commits
v1.5.0 ... v1

Author SHA1 Message Date
Romain Lespinasse
c90ba7007e feat: support GHES step output management 2022-10-31 19:45:56 +01:00
Romain Lespinasse
3b1b863e54 fix: use environment file to manage outputs 2022-10-15 21:26:27 +02:00

View File

@@ -45,8 +45,13 @@ elif [ "${INPUT_CONTINUE_ON_ERROR}" == "false" ]; then
fi
if [ "${SHORT_PUBLICATION}" == "true" ]; then
echo "::set-output name=revision::${REVISION}"
echo "::set-output name=short::${SHORT_VALUE}"
if [ -f "$GITHUB_OUTPUT" ]; then
echo "revision=${REVISION}" >> "$GITHUB_OUTPUT"
echo "short=${SHORT_VALUE}" >> "$GITHUB_OUTPUT"
else
echo "::set-output name=revision::${REVISION}"
echo "::set-output name=short::${SHORT_VALUE}"
fi
if [ "${INPUT_PUBLISH_ENV}" == "true" ]; then
{