github.com/seachicken/gh-poi@v0.9.10/.github/workflows/release.yml (about)

     1  name: Release
     2  
     3  on:
     4    push:
     5      tags:
     6        - "v*"
     7  
     8  jobs:
     9  
    10    goreleaser:
    11      runs-on: ubuntu-latest
    12  
    13      steps:
    14      - uses: actions/checkout@v4
    15        with:
    16          fetch-depth: 0
    17  
    18      - name: Set up Go
    19        uses: actions/setup-go@v5
    20        with:
    21          go-version-file: 'go.mod'
    22  
    23      - name: Run GoReleaser
    24        uses: goreleaser/goreleaser-action@v4
    25        with:
    26          args: release --clean
    27        env:
    28          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}