Enhancement: Prepare release #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.github.com/en/actions | |
name: "Release" | |
on: # yamllint disable-line rule:truthy | |
push: | |
tags: | |
- "**" | |
jobs: | |
release: | |
name: "Release" | |
runs-on: "ubuntu-latest" | |
timeout-minutes: 5 | |
steps: | |
- name: "Create release" | |
uses: "ergebnis/.github/actions/github/release/create@1.9.2" | |
with: | |
github-token: "${{ secrets.ERGEBNIS_BOT_TOKEN }}" | |
- name: "Post to twitter.com about release" | |
uses: "Eomm/why-don-t-you-tweet@v2.0.0" | |
env: | |
TWITTER_ACCESS_TOKEN: "${{ secrets.ERGEBNIS_TWITTER_ACCESS_TOKEN }}" | |
TWITTER_ACCESS_TOKEN_SECRET: "${{ secrets.ERGEBNIS_TWITTER_ACCESS_TOKEN_SECRET }}" | |
TWITTER_CONSUMER_API_KEY: "${{ secrets.ERGEBNIS_TWITTER_CONSUMER_API_KEY }}" | |
TWITTER_CONSUMER_API_SECRET: "${{ secrets.ERGEBNIS_TWITTER_CONSUMER_API_KEY_SECRET }}" | |
with: | |
tweet-message: | | |
👀 Just released: ${{ github.event.repository.owner.login }}/${{ github.event.repository.name }}:${{ env.RELEASE_TAG }}. | |
${{ env.RELEASE_HTML_URL }} |