Push 3.11.0 notification manually #13
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: | |
- '*.*.0' | |
branches: | |
- tmp/push-notification | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
env: | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
steps: | |
- uses: actions/checkout@master | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
changelog: | |
- 'CHANGELOG.md' | |
- name: Set env | |
run: echo "RELEASE_VERSION=3.11.0" >> $GITHUB_ENV | |
- name: telegram notification | |
# if: steps.filter.outputs.changelog == 'true' | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: | | |
Pytezos ${{ env.RELEASE_VERSION }} has been released π | |
More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }} | |
- name: slack notification | |
# if: steps.filter.outputs.changelog == 'true' | |
uses: Ilshidur/action-slack@master | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
with: | |
args: | | |
Pytezos ${{ env.RELEASE_VERSION }} has been released π | |
More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }} |