060ae56429
Signed-off-by: Sam Alba <sam.alba@gmail.com>
27 lines
509 B
YAML
27 lines
509 B
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.16
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@v2
|
|
with:
|
|
args: release --rm-dist
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|