diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ca4b08..0dcf358 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,23 +1,24 @@ name: Release on: - workflow_dispatch: - inputs: - version: - description: version tag to release - required: true + push: + tags: + - 'v*.*.*' + jobs: - setup: + release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v2 with: go-version: 1.17 + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: