Skip to content

Commit 411a239

Browse files
committed
CI: fix publish workflow: correct multiline with eof
1 parent d931490 commit 411a239

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,11 @@ jobs:
8585
MESSAGE_LIST=$(echo $CRATES | jq -r 'to_entries[] | "Crates updated:\n\(.key+1). \(.value.name): v\(.value.version)"')
8686
MESSAGE_LINE=$(echo $CRATES | jq -r 'to_entries[] | "Crate updated: \(.value.name) v\(.value.version)"')
8787
MESSAGE="${{ steps.counter.outputs.value > 1 && '${MESSAGE_LIST}' || ' ${MESSAGE_LINE}' }}"
88-
echo "value=${MESSAGE?}" >> "$GITHUB_OUTPUT"
89-
echo 'EOF' >> $GITHUB_OUTPUT
88+
# echo "value=${MESSAGE?}" >> "$GITHUB_OUTPUT"
89+
90+
echo "value<<EOF" >> $GITHUB_OUTPUT
91+
echo $MESSAGE >> $GITHUB_OUTPUT
92+
echo "EOF" >> $GITHUB_OUTPUT
9093
9194
outputs:
9295
published: ${{ steps.publisher.outputs.published }}

0 commit comments

Comments
 (0)