File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 1
- on : [workflow_dispatch]
1
+ on :
2
+ release :
3
+ types : [created]
2
4
3
5
jobs :
4
6
releases-matrix :
5
7
name : Release Go Binary
6
8
runs-on : ubuntu-latest
9
+ permissions : write-all
7
10
strategy :
8
11
matrix :
9
- goos : [linux, windows, darwin]
10
- goarch : ["386", amd64, arm64]
12
+ # goos: [linux, windows, darwin]
13
+ # goarch: ["386", amd64, arm64]
14
+ # exclude:
15
+ # - goarch: "386"
16
+ # goos: darwin
17
+ # - goarch: arm64
18
+ # goos: windows
19
+
20
+ goos : [windows, darwin]
21
+ goarch : [amd64, arm64]
11
22
exclude :
12
- - goarch : " 386"
13
- goos : darwin
14
23
- goarch : arm64
15
24
goos : windows
16
25
steps :
17
- - name : Install libx11-dev
18
- run : sudo apt-get install -y libx11-dev
26
+ # - name: Install libx11-dev
27
+ # run: |
28
+ # sudo apt update -y
29
+ # sudo apt remove -y libx11-dev
30
+ # sudo apt install -y libx11-dev
19
31
20
32
- name : Checkout code
21
33
uses : actions/checkout@v3
22
34
23
35
- name : Build and release
24
- uses : wangyoucao577/go-release-action@v1
36
+ uses : wangyoucao577/go-release-action@v1.37
25
37
with :
26
38
github_token : ${{ secrets.GITHUB_TOKEN }}
27
39
goos : ${{ matrix.goos }}
28
40
goarch : ${{ matrix.goarch }}
29
41
goversion : " https://dl.google.com/go/go1.20.2.linux-amd64.tar.gz"
30
42
project_path : " ./src/npu"
31
43
binary_name : " npu"
44
+ pre_command : export GODEBUG=http2client=0
45
+ retry : 10
46
+ overwrite : true
32
47
extra_files : LICENSE README.md
You can’t perform that action at this time.
0 commit comments