Skip to content

Update release.yml (#25) #20

Update release.yml (#25)

Update release.yml (#25) #20

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
- 'v*.*.*-rc*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: '~> 1.26'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}