Skip to content

Merge pull request #9 from nicholasericksen/v0.2 #3

Merge pull request #9 from nicholasericksen/v0.2

Merge pull request #9 from nicholasericksen/v0.2 #3

Workflow file for this run

# .github/workflows/release.yml
name: Release DDOS tool
on:
push:
# run only against tags
tags:
- "*"
permissions:
contents: write
jobs:
DDOS-Tool-Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout Repo
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v4
name: Setup Go
with:
go-version: stable
# More assembly might be required: Docker logins, GPG, etc.
# It all depends on your needs.
- uses: goreleaser/goreleaser-action@v5
name: Release
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro'
# distribution:
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}