Skip to content

Commit

Permalink
goreleaser github action
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillora committed Sep 9, 2019
1 parent b26a1a6 commit 97499eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
tags:
- "v*"
name: CI
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: goreleaser
uses: docker://goreleaser/goreleaser:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: release
if: success()
10 changes: 4 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ builds:
goos:
- linux
- darwin
- freebsd
- windows
- android
goarch:
- 386
- amd64
Expand All @@ -15,10 +13,10 @@ builds:
goarm:
- 6
- 7
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
archives:
- format: gz
files:
- none*
changelog:
sort: asc
filters:
Expand Down

0 comments on commit 97499eb

Please sign in to comment.