Skip to content

Commit

Permalink
CI: fix post publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Feb 11, 2024
1 parent 247ef86 commit e9e1ca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
# TODO: Write good-look link like [github.event.repository.name](url)

language: "en"
visibility: "public" # use `unlisted` for tests
visibility: public # use `unlisted` for tests
url: ${{ secrets.MASTODON_URL }}
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ jobs:
if: join(fromJSON(needs.crates-io.outputs.published).*.name, '-') && (github.event.inputs.dry-run == 'true' || (github.head_ref && 'true') || 'false') == 'false'
uses: ./.github/workflows/post.yml
with:
message: Crate${{ needs.crates-io.outputs.counter == 1 && '' || 's' }} ${{ join(fromJSON(needs.crates-io.outputs.published).*.name, ', ') }} updated.
message: "Crate${{ needs.crates-io.outputs.counter > 1 && 's' || '' }} updated: ${{ join(fromJSON(needs.crates-io.outputs.published).*.name, ', ') }}."

0 comments on commit e9e1ca5

Please sign in to comment.