on: push: tags: - '*.*.*' name: Release jobs: goreleaser: name: Create Release runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Go uses: actions/setup-go@v2 with: go-version: "1.20" - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}