Skip to content

Commit

Permalink
setup release github action
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Jun 18, 2021
1 parent 3b92677 commit d9f7638
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
release:
types: [created]
name: release
jobs:
generate:
name: create release-artifacts
runs-on: ubuntu-latest
steps:
- name: install golang
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: checkout code
uses: actions/checkout@v2
- name: install go-bindata
run: make bindata
- name: generate the artifacts
run: make cross
- name: upload the artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'binary/sentences_*'

0 comments on commit d9f7638

Please sign in to comment.