Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

Commit 17796a9

Browse files
committed
Add release workflow
1 parent 150745f commit 17796a9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: repository_dispatch
2+
3+
jobs:
4+
release:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/setup-go@v1.0.2
8+
with: {go-version: '1.12.7'}
9+
- uses: actions/checkout@v1.0.0
10+
- run: go test ./...
11+
- run: script/build
12+
- uses: jclem/github-release@master
13+
with:
14+
tag-name: ${{github.event.action}}
15+
name: ${{github.event.action}}
16+
draft: true
17+
assets: 'build/*.tar.gz'
18+
github-token: ${{github.token}}

0 commit comments

Comments
 (0)