goreleaser.yml
This file
Path
.github/workflows/goreleaser.yml
36 lines · 890 bytes · YAML
Last changed by
chore(deps): bump the actions group across 1 directory with 4 updates (#4787)dependabot[bot]before adoption00cfe5a
History of this fileTake it
12345678910111213141516171819202122232425262728293031323334353637name: Goreleaser
on: push: tags: - "*"
permissions: contents: write
jobs: goreleaser: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v7 with: go-version: "^1" - name: Run GoReleaser uses: goreleaser/goreleaser-action@v7 with: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Trigger Go module reindex (pkg.go.dev) run: | echo "Triggering Go module reindex at proxy.golang.org" curl -sSf "https://proxy.golang.org/github.com/${GITHUB_REPOSITORY,,}/@v/${GITHUB_REF_NAME}.info"