Skip to content

Commit 8f0274d

Browse files
author
Gary Lockett
authored
Merge pull request #166 from internalsystemerror/fix-tags-needing-multiline
`set-output` deprecation changed how multilines are handled
2 parents 6a84a59 + a18c588 commit 8f0274d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/create-additional-action-tags.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
TAG=${GITHUB_REF/refs\/tags\//}
1717
MAJOR="v$(echo ${TAG} | cut -d. -f1)"
1818
MINOR="${MAJOR}.$(echo ${GITHUB_REF} | cut -d. -f2)"
19-
echo "tags=${MAJOR}%0A${MINOR}" >> $GITHUB_OUTPUT
19+
EOF="$(uuidgen)"
20+
echo "tags<<${EOF}" >> $GITHUB_OUTPUT
21+
echo "${MAJOR}" >> $GITHUB_OUTPUT
22+
echo "${MINOR}" >> $GITHUB_OUTPUT
23+
echo "${EOF}" >> $GITHUB_OUTPUT
2024
2125
update-tags:
2226
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)