2021-11-14 06:27:52 +00:00
|
|
|
name: goreleaser
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "*"
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
goreleaser:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-05 05:48:05 +00:00
|
|
|
- uses: actions/checkout@v4
|
2021-11-14 06:27:52 +00:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2023-03-22 09:03:50 +00:00
|
|
|
- uses: actions/setup-go@v4
|
2021-11-14 06:27:52 +00:00
|
|
|
with:
|
2023-03-28 17:45:35 +00:00
|
|
|
go-version: "stable"
|
2023-03-22 09:03:56 +00:00
|
|
|
- uses: goreleaser/goreleaser-action@v4
|
2021-11-14 06:27:52 +00:00
|
|
|
with:
|
|
|
|
distribution: goreleaser
|
|
|
|
version: latest
|
|
|
|
args: release --rm-dist
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|