updated github actions

master
Martin Scheidt 2022-12-19 22:02:19 +01:00
parent 787d66165a
commit d7118213b4
1 changed files with 8 additions and 7 deletions

View File

@ -178,10 +178,11 @@ jobs:
needs: publish_zenodo needs: publish_zenodo
name: "Send toot about it to railtoolkit@fosstodon.org" name: "Send toot about it to railtoolkit@fosstodon.org"
runs-on: ubuntu-latest runs-on: ubuntu-latest
- uses: cbrgm/mastodon-github-action@v1 steps:
with: - uses: cbrgm/mastodon-github-action@v1
message: "The new version ${{ github.event.inputs.version }} of TrainRuns.jl is available! DOI: https://doi.org/${{needs.publish_zenodo.outputs.doi}}" with:
visibility: "public" # default: public message: "The new version ${{ github.event.inputs.version }} of TrainRuns.jl is available! DOI: https://doi.org/${{needs.publish_zenodo.outputs.doi}}"
env: visibility: "public" # default: public
MASTODON_URL: "https://fosstodon.org/" env:
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} # access token MASTODON_URL: "https://fosstodon.org/"
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} # access token