Bump `cbrgm/mastodon-github-action` to v2 (#635)

And update parameters accordingly
This commit is contained in:
GeckoEidechse 2024-03-03 12:22:12 +01:00 committed by GitHub
parent 86085f5c91
commit ada52bb828
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -9,9 +9,8 @@ jobs:
steps:
- name: Send toot to Mastodon
id: mastodon
uses: cbrgm/mastodon-github-action@v1
uses: cbrgm/mastodon-github-action@v2
with:
message: "We just released Northstar ${{ github.event.release.tag_name }}\n\n${{ github.event.release.html_url }}"
env:
MASTODON_URL: ${{ secrets.MASTODON_URL }}
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
url: ${{ secrets.MASTODON_URL }}
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}