-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
release:
types: [created]
jobs:
release-mac:
name: Release Go Binary for MacOS
runs-on: ubuntu-latest
strategy:
matrix:
goos: [darwin]
goarch: ["386", amd64]
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Build & Release
uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "dropbox-ignore"
release-linux:
name: Release Go Binary for Linux
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: ["386", amd64, arm64]
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Build & Release
uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "dropbox-ignore"