2021-12-26 17:06:56 +00:00
|
|
|
name: Release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
release:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-08-01 16:04:06 +00:00
|
|
|
- uses: actions/checkout@v3
|
2021-12-26 17:06:56 +00:00
|
|
|
|
|
|
|
- name: Set up Go
|
2022-08-01 16:04:06 +00:00
|
|
|
uses: actions/setup-go@v3
|
2021-12-26 17:06:56 +00:00
|
|
|
with:
|
2023-05-16 22:48:01 +00:00
|
|
|
go-version: 1.20
|
2021-12-26 17:06:56 +00:00
|
|
|
|
|
|
|
- name: Run GoReleaser
|
2022-08-01 16:04:06 +00:00
|
|
|
uses: goreleaser/goreleaser-action@v3
|
2021-12-26 17:06:56 +00:00
|
|
|
with:
|
|
|
|
distribution: goreleaser
|
|
|
|
version: latest
|
2021-12-27 06:04:29 +00:00
|
|
|
args: release --rm-dist --timeout 80m
|
2021-12-26 17:06:56 +00:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|