We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade8961 commit 6b153edCopy full SHA for 6b153ed
.github/workflows/release.yml
@@ -0,0 +1,29 @@
1
+on: [workflow_dispatch]
2
+
3
+jobs:
4
+ releases-matrix:
5
+ name: Release Go Binary
6
+ runs-on: ubuntu-latest
7
+ strategy:
8
+ matrix:
9
+ goos: [linux, windows, darwin]
10
+ goarch: ["386", amd64, arm64]
11
+ exclude:
12
+ - goarch: "386"
13
+ goos: darwin
14
+ - goarch: arm64
15
+ goos: windows
16
+ steps:
17
+ - name: Checkout code
18
+ uses: actions/checkout@v3
19
20
+ - name: Build and release
21
+ uses: wangyoucao577/go-release-action@v1
22
+ with:
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ goos: ${{ matrix.goos }}
25
+ goarch: ${{ matrix.goarch }}
26
+ goversion: "https://dl.google.com/go/go1.20.2.linux-amd64.tar.gz"
27
+ project_path: "./src/npu"
28
+ binary_name: "npu"
29
+ extra_files: LICENSE README.md
0 commit comments