Release 2.1.2 #35
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
name: Release 🚀 | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set env | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- uses: actions/checkout@v3 | |
- name: Changelog | |
id: changelog | |
uses: 3liz/[email protected] | |
- name: Create release on GitHub | |
uses: ncipollo/[email protected] | |
with: | |
body: ${{ steps.changelog.outputs.markdown }} | |
token: ${{ secrets.BOT_HUB_TOKEN }} | |
- name: Tweet | |
uses: mugi111/[email protected] | |
with: | |
consumer_key: ${{ secrets.TWITTER_CONSUMER_KEY }} | |
consumer_secret: ${{ secrets.TWITTER_CONSUMER_SECRET }} | |
access_token_key: ${{ secrets.TWITTER_ACCESS_TOKEN_KEY }} | |
access_token_secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | |
tweet_body: "Nouvelle version du module de consultation des données #Cadastre ${{ env.RELEASE_VERSION }} pour @LizmapForQgis https://github.com/3liz/lizmap-cadastre-module/releases" |