...

Text file src/github.com/gin-gonic/gin/.github/workflows/goreleaser.yml

Documentation: github.com/gin-gonic/gin/.github/workflows

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

View as plain text