forked from murbard/pytezos
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c16e63
commit 1870d62
Showing
3 changed files
with
16 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
- master | ||
|
||
jobs: | ||
build: | ||
binder: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,35 @@ | ||
name: Release | ||
name: Notify | ||
on: | ||
push: | ||
tags: | ||
- '*.*.0' | ||
# FIXME: Temporary | ||
# tags: | ||
# - '*.*.0' | ||
branches: | ||
- ci/release-notifications | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
notify: | ||
name: Notify | ||
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=${GITHUB_REF#refs/*/}" >> $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 }} | ||
# FIXME: Temporary | ||
message: | | ||
Pytezos ${{ env.RELEASE_VERSION }} has been released π | ||
More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }} | ||
Pytezos 3.12.0 has been released π | ||
More info at https://github.com/baking-bad/pytezos/releases/tag/3.12.0 | ||
- name: slack notification | ||
if: steps.filter.outputs.changelog == 'true' | ||
uses: Ilshidur/action-slack@master | ||
env: | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
with: | ||
# FIXME: Temporary | ||
args: | | ||
Pytezos ${{ env.RELEASE_VERSION }} has been released π | ||
More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }} | ||
Pytezos 3.12.0 has been released π | ||
More info at https://github.com/baking-bad/pytezos/releases/tag/3.12.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
- "*.*.*" | ||
|
||
jobs: | ||
build: | ||
release: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
|