github.com/mhmtszr/concurrent-swiss-map@v1.0.8/.github/workflows/release.yml (about) 1 name: 🎉 Release 2 3 on: 4 push: 5 tags: 6 - '*' 7 8 permissions: 9 contents: write 10 11 jobs: 12 goreleaser: 13 runs-on: ubuntu-latest 14 steps: 15 - name: Checkout 16 uses: actions/checkout@v3 17 with: 18 fetch-depth: 0 19 20 - run: git tag ${{ github.event.inputs.tag }} 21 22 - name: Set up Go 23 uses: actions/setup-go@v3 24 with: 25 go-version: 1.18 26 27 - name: Run GoReleaser 28 uses: goreleaser/goreleaser-action@v4 29 with: 30 version: latest 31 args: release --rm-dist 32 env: 33 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}