Skip to content

Commit 21bbdaf

Browse files
authored
Add release.yml
1 parent 31b4265 commit 21bbdaf

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

.github/workflows/release.yml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
on: release
2+
name: Build binaries
3+
jobs:
4+
release-linux-386:
5+
name: release linux/386
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
- name: compile and release
10+
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
GOARCH: "386"
14+
GOOS: linux
15+
release-linux-amd64:
16+
name: release linux/amd64
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@master
20+
- name: compile and release
21+
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GOARCH: amd64
25+
GOOS: linux
26+
release-darwin-386:
27+
name: release darwin/386
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@master
31+
- name: compile and release
32+
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
GOARCH: "386"
36+
GOOS: darwin
37+
release-darwin-amd64:
38+
name: release darwin/amd64
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@master
42+
- name: compile and release
43+
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
GOARCH: amd64
47+
GOOS: darwin
48+
release-windows-386:
49+
name: release windows/386
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@master
53+
- name: compile and release
54+
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
GOARCH: "386"
58+
GOOS: windows
59+
release-windows-amd64:
60+
name: release windows/amd64
61+
runs-on: ubuntu-latest
62+
steps:
63+
- uses: actions/checkout@master
64+
- name: compile and release
65+
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
GOARCH: amd64
69+
GOOS: windows

0 commit comments

Comments
 (0)