mirror of https://github.com/daffainfo/nuclei.git
27 lines
506 B
YAML
27 lines
506 B
YAML
name: 🎉 Release Binary
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
|
|
- uses: goreleaser/goreleaser-action@v2
|
|
with:
|
|
args: "release --rm-dist"
|
|
version: latest
|
|
workdir: v2/
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |