github.com/seilagamo/poc-lava-release@v0.3.3-rc3/.github/workflows/release.yaml (about) 1 # Copyright 2023 Adevinta 2 3 name: Release 4 5 on: 6 push: 7 tags: 8 - 'v[0-9]+.[0-9]+.[0-9]+*' 9 10 permissions: 11 contents: write 12 13 jobs: 14 goreleaser: 15 runs-on: ubuntu-latest 16 steps: 17 - name: Checkout 18 uses: actions/checkout@v4 19 with: 20 fetch-depth: 0 21 - name: Set up Go 22 uses: actions/setup-go@v4 23 with: 24 go-version: '1.21' 25 - name: Run "goreleaser" 26 uses: goreleaser/goreleaser-action@v5 27 with: 28 distribution: goreleaser 29 version: v1.22.1 30 args: release --clean 31 env: 32 GITHUB_TOKEN: ${{ github.token }}