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]
24
35jobs :
46 releases-matrix :
57 name : Release Go Binary
68 runs-on : ubuntu-latest
9+ permissions : write-all
710 strategy :
811 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]
1122 exclude :
12- - goarch : " 386"
13- goos : darwin
1423 - goarch : arm64
1524 goos : windows
1625 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
1931
2032 - name : Checkout code
2133 uses : actions/checkout@v3
2234
2335 - name : Build and release
24- uses : wangyoucao577/go-release-action@v1
36+ uses : wangyoucao577/go-release-action@v1.37
2537 with :
2638 github_token : ${{ secrets.GITHUB_TOKEN }}
2739 goos : ${{ matrix.goos }}
2840 goarch : ${{ matrix.goarch }}
2941 goversion : " https://dl.google.com/go/go1.20.2.linux-amd64.tar.gz"
3042 project_path : " ./src/npu"
3143 binary_name : " npu"
44+ pre_command : export GODEBUG=http2client=0
45+ retry : 10
46+ overwrite : true
3247 extra_files : LICENSE README.md
You can’t perform that action at this time.
0 commit comments