nuclei/.github/workflows/release-binary.yml

30 lines
697 B
YAML
Raw Normal View History

2021-06-15 16:01:56 +00:00
name: 🎉 Release Binary
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:
runs-on: ubuntu-latest-16-cores
2021-10-18 21:01:25 +00:00
2020-07-13 17:34:08 +00:00
steps:
- uses: actions/checkout@v3
2020-07-13 17:34:08 +00:00
with:
fetch-depth: 0
2021-10-18 21:01:25 +00:00
- uses: actions/setup-go@v4
2020-07-13 17:34:08 +00:00
with:
go-version: 1.21.x
2021-10-18 21:01:25 +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 }}"
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"
DISCORD_WEBHOOK_ID: "${{ secrets.DISCORD_WEBHOOK_ID }}"
DISCORD_WEBHOOK_TOKEN: "${{ secrets.DISCORD_WEBHOOK_TOKEN }}"