File tree Expand file tree Collapse file tree 3 files changed +49
-63
lines changed Expand file tree Collapse file tree 3 files changed +49
-63
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ on : push
2
+ name : Push
3
+ jobs :
4
+ checks :
5
+ name : checks
6
+ runs-on : ubuntu-18.04
7
+ steps :
8
+ - uses : actions/checkout@master
9
+
10
+ - name : Run all checks
11
+ uses : cedrickring/golang-action@1.3.0
12
+ env :
13
+ GO111MODULE : " on"
Original file line number Diff line number Diff line change
1
+ on : release
2
+ name : Release
3
+ jobs :
4
+ build_and_release :
5
+ name : build and release binaries
6
+ runs-on : ubuntu-18.04
7
+ steps :
8
+ - uses : actions/checkout@master
9
+
10
+ - name : Build all binaries
11
+ uses : cedrickring/golang-action@1.3.0
12
+ env :
13
+ GO111MODULE : " on"
14
+ with :
15
+ args : make build-all
16
+
17
+ - name : Upload windows release
18
+ uses : JasonEtco/upload-to-release@master
19
+ env :
20
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
+ with :
22
+ args : out/kbuild_windows_amd64.exe application/octet-stream
23
+
24
+ - name : Upload linux release
25
+ uses : JasonEtco/upload-to-release@master
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ with :
29
+ args : out/kbuild_linux_amd64 application/octet-stream
30
+
31
+ - name : Upload darwin release
32
+ uses : JasonEtco/upload-to-release@master
33
+ env :
34
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35
+ with :
36
+ args : out/kbuild_darwin_amd64 application/octet-stream
You can’t perform that action at this time.
0 commit comments