github.com/anthonyme00/gomarkdoc@v1.0.0/.github/workflows/release.yml (about) 1 name: Release 2 on: 3 push: 4 branches-ignore: 5 - '**' 6 tags: 7 - 'v*.*.*' 8 - 'v*.*.*-*.*' 9 jobs: 10 release: 11 runs-on: ubuntu-latest 12 steps: 13 - name: Checkout code 14 uses: actions/checkout@v1 15 - name: Install Go 16 uses: actions/setup-go@v1 17 with: 18 go-version: 1.20.x 19 - name: Run GoReleaser 20 uses: goreleaser/goreleaser-action@v1 21 with: 22 version: latest 23 args: release --rm-dist 24 env: 25 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}