Skip to content

Commit

Permalink
CI: fix publish workflow: message format
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Apr 3, 2024
1 parent a88b1a0 commit 24dc26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
MESSAGE_LIST=$(echo $CRATES | jq -r 'to_entries[] | "Crates updated:\n\(.key+1). \(.value.name): v\(.value.version)"')
MESSAGE_LINE=$(echo $CRATES | jq -r 'to_entries[] | "Crate updated: \(.value.name) v\(.value.version)"')
MESSAGE="${{ steps.counter.outputs.value > 1 && '${MESSAGE_LIST}' || ' ${MESSAGE_LINE}' }}"
echo 'value="${MESSAGE?}"' >> "$GITHUB_OUTPUT"
echo "value='${MESSAGE?}'" >> "$GITHUB_OUTPUT"
outputs:
published: ${{ steps.publisher.outputs.published }}
Expand Down

0 comments on commit 24dc26b

Please sign in to comment.