Skip to content

Commit

Permalink
gh actions: added release
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Menet committed Dec 13, 2019
1 parent aa6c83b commit ef57e30
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: goreleaser
on:
create:
tags:
- 'v*.*.*'

jobs:
releaser:
name: Release on GitHub
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@master
-
name: Set up Go
uses: actions/setup-go@master
with:
go-version: 1.13.x
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ef57e30

Please sign in to comment.