-
Notifications
You must be signed in to change notification settings - Fork 8
32 lines (25 loc) · 973 Bytes
/
notice.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: notice
on:
release:
types: [ published ]
jobs:
notice:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.18'
- name: Test
run: go test ./...
- name: Send Message in Telegram
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
🥳 *NEW RELEASE!!!* 🥳
[github.com/MinterTeam/minter-go-sdk](https://github.com/MinterTeam/minter-go-sdk) is *released* with tag [${{ github.event.release.tag_name }}](${{ github.event.release.html_url }}).
`go get github.com/MinterTeam/minter-go-sdk/v2@${{ github.event.release.tag_name }}`
[Changelog](https://github.com/MinterTeam/minter-go-sdk/blob/${{ github.event.release.tag_name }}/CHANGELOG.md#change-log)