There was an error while loading. Please reload this page.
1 parent 7f7db7d commit f3a555fCopy full SHA for f3a555f
1 file changed
.github/workflows/go.yml
@@ -0,0 +1,34 @@
1
+# This workflow will build a golang project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3
+
4
+name: Go
5
6
+on:
7
+ release:
8
+ types: [created]
9
10
+permissions:
11
+ contents: write
12
+ packages: write
13
14
+jobs:
15
+ build:
16
+ runs-on: ubuntu-latest
17
+ strategy:
18
+ matrix:
19
+ goos: [linux, windows, darwin]
20
+ goarch: ["386", amd64, arm64]
21
+ exclude:
22
+ - goarch: "386"
23
+ goos: darwin
24
+ - goarch: arm64
25
+ goos: windows
26
+ steps:
27
+ - uses: actions/checkout@v4
28
29
+ - uses: wangyoucao577/go-release-action@v1
30
+ with:
31
+ github_token: ${{ secrets.GITHUB_TOKEN }}
32
+ goos: ${{ matrix.goos }}
33
+ goarch: ${{ matrix.goarch }}
34
+ compress_assets: OFF
0 commit comments