2020-01-12 02:29:04 +02:00
|
|
|
name: goreleaser
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
goreleaser:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2022-05-15 02:00:15 +02:00
|
|
|
uses: actions/checkout@v3
|
2020-01-12 02:29:04 +02:00
|
|
|
|
|
|
|
- name: Set up Go
|
2022-05-15 02:00:15 +02:00
|
|
|
uses: actions/setup-go@v3
|
2020-01-12 02:29:04 +02:00
|
|
|
with:
|
2023-02-13 15:28:49 +02:00
|
|
|
go-version: 1.20.x
|
2020-01-12 02:29:04 +02:00
|
|
|
|
|
|
|
- name: Run GoReleaser
|
2021-09-02 17:45:01 +02:00
|
|
|
uses: goreleaser/goreleaser-action@v2
|
2020-01-12 02:29:04 +02:00
|
|
|
with:
|
|
|
|
version: latest
|
|
|
|
args: release --rm-dist
|
|
|
|
env:
|
2021-10-27 19:44:10 +02:00
|
|
|
GITHUB_TOKEN: ${{secrets.GH_PAT}}
|