From f5a4e78b2c9ce17ea81d64ccc625052fd0754d7c Mon Sep 17 00:00:00 2001 From: Gary Lockett Date: Mon, 19 Dec 2022 15:10:28 +0000 Subject: [PATCH] the variable name doesn't need an assignment on the same line when multiline Signed-off-by: Gary Lockett --- .github/workflows/create-additional-action-tags.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-additional-action-tags.yml b/.github/workflows/create-additional-action-tags.yml index 2b778b24..f8d456d3 100644 --- a/.github/workflows/create-additional-action-tags.yml +++ b/.github/workflows/create-additional-action-tags.yml @@ -16,7 +16,8 @@ jobs: TAG=${GITHUB_REF/refs\/tags\//} MAJOR="v$(echo ${TAG} | cut -d. -f1)" MINOR="${MAJOR}.$(echo ${GITHUB_REF} | cut -d. -f2)" - echo "tags=${MAJOR}<> $GITHUB_OUTPUT + echo "tags<> $GITHUB_OUTPUT + echo "${MAJOR}" >> $GITHUB_OUTPUT echo "${MINOR}" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT