Skip to content

Commit 34ee294

Browse files
committed
ci(release): combine GITHUB_OUTPUT writes into a single block (SC2129)
1 parent 49c5362 commit 34ee294

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,12 @@ jobs:
158158
DIST_TAG="release-$(echo "$NEW" | cut -d. -f1,2)"
159159
fi
160160
161-
echo "new=${NEW}" >> "$GITHUB_OUTPUT"
162-
echo "current=${CURRENT}" >> "$GITHUB_OUTPUT"
163-
echo "is_latest=${IS_LATEST}" >> "$GITHUB_OUTPUT"
164-
echo "dist_tag=${DIST_TAG}" >> "$GITHUB_OUTPUT"
161+
{
162+
echo "new=${NEW}"
163+
echo "current=${CURRENT}"
164+
echo "is_latest=${IS_LATEST}"
165+
echo "dist_tag=${DIST_TAG}"
166+
} >> "$GITHUB_OUTPUT"
165167
166168
echo "::notice::Publishing ${NEW}; current latest=${CURRENT}; is_latest=${IS_LATEST}; dist_tag=${DIST_TAG:-latest}"
167169

0 commit comments

Comments
 (0)