2021-06-15 16:01:56 +00:00
|
|
|
name: 🎉 Release Binary
|
2022-11-23 11:43:52 +00:00
|
|
|
|
2020-06-01 19:34:57 +00:00
|
|
|
on:
|
2022-01-13 13:17:52 +00:00
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
2021-06-15 16:01:56 +00:00
|
|
|
workflow_dispatch:
|
2020-06-01 19:34:57 +00:00
|
|
|
|
2020-07-13 17:34:08 +00:00
|
|
|
jobs:
|
|
|
|
release:
|
2023-03-03 23:17:41 +00:00
|
|
|
runs-on: ubuntu-latest-16-cores
|
2021-10-18 21:01:25 +00:00
|
|
|
|
2020-07-13 17:34:08 +00:00
|
|
|
steps:
|
2022-03-07 05:04:20 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-07-13 17:34:08 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-10-18 21:01:25 +00:00
|
|
|
|
2023-03-20 05:57:09 +00:00
|
|
|
- uses: actions/setup-go@v4
|
2020-07-13 17:34:08 +00:00
|
|
|
with:
|
2023-10-13 07:47:27 +00:00
|
|
|
go-version: 1.21.x
|
2021-10-18 21:01:25 +00:00
|
|
|
|
2022-12-19 05:00:59 +00:00
|
|
|
- uses: goreleaser/goreleaser-action@v4
|
2020-07-13 17:34:08 +00:00
|
|
|
with:
|
|
|
|
args: "release --rm-dist"
|
2021-03-14 07:07:41 +00:00
|
|
|
version: latest
|
2021-10-18 21:01:25 +00:00
|
|
|
env:
|
2022-08-13 08:30:08 +00:00
|
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
2023-01-02 11:17:27 +00:00
|
|
|
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"
|
|
|
|
DISCORD_WEBHOOK_ID: "${{ secrets.DISCORD_WEBHOOK_ID }}"
|
|
|
|
DISCORD_WEBHOOK_TOKEN: "${{ secrets.DISCORD_WEBHOOK_TOKEN }}"
|