2020-01-11 21:29:04 -03:00
|
|
|
name: goreleaser
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
2024-01-09 18:24:20 +00:00
|
|
|
- 'v*'
|
2020-01-11 21:29:04 -03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
goreleaser:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-05-14 21:00:15 -03:00
|
|
|
uses: actions/checkout@v3
|
2020-01-11 21:29:04 -03:00
|
|
|
|
|
|
|
- name: Set up Go
|
2022-05-14 21:00:15 -03:00
|
|
|
uses: actions/setup-go@v3
|
2020-01-11 21:29:04 -03:00
|
|
|
with:
|
2023-09-02 17:43:14 -03:00
|
|
|
go-version: 1.21.x
|
2020-01-11 21:29:04 -03:00
|
|
|
|
|
|
|
- name: Run GoReleaser
|
2021-09-02 17:45:01 +02:00
|
|
|
uses: goreleaser/goreleaser-action@v2
|
2020-01-11 21:29:04 -03:00
|
|
|
with:
|
|
|
|
version: latest
|
2023-08-26 18:52:10 -03:00
|
|
|
args: release --clean
|
2020-01-11 21:29:04 -03:00
|
|
|
env:
|
2021-10-27 14:44:10 -03:00
|
|
|
GITHUB_TOKEN: ${{secrets.GH_PAT}}
|