Skip to content

Commit

Permalink
CI: fix post condition for published crates
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Feb 10, 2024
1 parent be857ad commit 2d16f01
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 @@ -73,7 +73,7 @@ jobs:
echo "Published $CRATES_NUM crates: $LIST"
- name: Post
if: fromJSON(steps.publisher.outputs.published).* && (github.event.inputs.dry-run == 'true' || (github.head_ref && 'true'))
if: join(fromJSON(steps.publisher.outputs.published).*.name, '-') && (github.event.inputs.dry-run == 'true' || (github.head_ref && 'true') || 'false') == 'false'
uses: ./.github/workflows/post.yml
with:
message: Crate${{ steps.counter.outputs.value == 1 && '' || 's' }} ${{ join(fromJSON(steps.publisher.outputs.published).*.name, ', ') }} updated.

0 comments on commit 2d16f01

Please sign in to comment.