Skip to content

Commit

Permalink
Merge pull request #13 from newcontext-oss/goreleaser
Browse files Browse the repository at this point in the history
Use goreleaser in GitHub Actions pipeline
  • Loading branch information
edwardbartholomew authored Jan 30, 2020
2 parents c71e4b8 + df17c5c commit c420052
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release
on:
push:
tags:
- v*

jobs:
release:
name: Release on GitHub
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
with:
version: latest
args: release --rm-dist
key: ${{ secrets.YOUR_PRIVATE_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c420052

Please sign in to comment.