mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add goreleaser github action
Creates a new release when a new tag is pushed up to GitHub. Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
parent
4cde3c7781
commit
ae10162b69
29
.github/workflows/goreleaser.yml
vendored
Normal file
29
.github/workflows/goreleaser.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
name: goreleaser
|
||||||
|
|
||||||
|
on:
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
goreleaser:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
-
|
||||||
|
name: Set up Go
|
||||||
|
uses: actions/setup-go@v2
|
||||||
|
with:
|
||||||
|
go-version: 1.15
|
||||||
|
-
|
||||||
|
name: Run GoReleaser
|
||||||
|
uses: goreleaser/goreleaser-action@v2
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
args: release --rm-dist
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
|
Loading…
x
Reference in New Issue
Block a user