github.com/osrg/gobgp/v3@v3.30.0/.github/workflows/release.yml (about)

     1  name: release
     2  
     3  on:
     4    push:
     5      tags:
     6        - v[0-9]+.*
     7  
     8  jobs:
     9    goreleaser:
    10      runs-on: ubuntu-latest
    11      steps:
    12        - name: Checkout
    13          uses: actions/checkout@v3
    14          with:
    15            fetch-depth: 0
    16  
    17        - name: Set up Go
    18          uses: actions/setup-go@v4
    19          with:
    20            go-version: 'stable'
    21  
    22        - name: Run GoReleaser
    23          uses: goreleaser/goreleaser-action@v4
    24          with:
    25            # either 'goreleaser' (default) or 'goreleaser-pro'
    26            distribution: goreleaser
    27            version: latest
    28            args: release --clean
    29          env:
    30            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}