2022-11-06 11:03:37 +00:00
|
|
|
name: goreleaser
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "*"
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
goreleaser:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-05 09:10:09 +00:00
|
|
|
- uses: actions/checkout@v4
|
2022-11-06 11:03:37 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-12-07 08:47:19 +00:00
|
|
|
- uses: actions/setup-go@v5
|
2022-11-06 11:03:37 +00:00
|
|
|
with:
|
2023-07-06 03:09:12 +00:00
|
|
|
go-version: "stable"
|
2023-09-12 08:59:10 +00:00
|
|
|
- uses: goreleaser/goreleaser-action@v5
|
2022-11-06 11:03:37 +00:00
|
|
|
with:
|
|
|
|
distribution: goreleaser
|
|
|
|
version: latest
|
|
|
|
args: release --rm-dist
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|