...

Text file src/github.com/klauspost/cpuid/v2/.github/workflows/release.yml

Documentation: github.com/klauspost/cpuid/v2/.github/workflows

     1name: goreleaser
     2
     3on:
     4  push:
     5    tags:
     6      - 'v*'
     7
     8jobs:
     9  goreleaser:
    10    runs-on: ubuntu-latest
    11    steps:
    12      -
    13        name: Checkout
    14        uses: actions/checkout@v2
    15        with:
    16          fetch-depth: 0
    17      -
    18        name: Set up Go
    19        uses: actions/setup-go@v2
    20        with:
    21          go-version: 1.18.x
    22      -
    23        name: Run GoReleaser
    24        uses: goreleaser/goreleaser-action@v2
    25        with:
    26          version: v1.9.2
    27          args: release --rm-dist
    28        env:
    29          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    30          CGO_ENABLED: 0

View as plain text