mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-24 20:05:31 +00:00
26 lines
539 B
YAML
26 lines
539 B
YAML
name: 🎉 Release Binary
|
|
on:
|
|
create:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
|
|
|
|
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 }}" |