File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ release :
3
+ types : [created]
4
+
5
+ jobs :
6
+ releases :
7
+ name : Release Binaries
8
+ runs-on : ubuntu-latest
9
+ strategy :
10
+ matrix :
11
+ goos : [linux, windows, darwin]
12
+ goarch : ["386", amd64, arm64]
13
+ exclude :
14
+ - goos : darwin
15
+ goarch : " 386"
16
+ - goos : windows
17
+ goarch : arm64
18
+
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ -
uses :
wangyoucao577/[email protected]
22
+ with :
23
+ github_token : ${{ secrets.GITHUB_TOKEN }}
24
+ goos : ${{ matrix.goos }}
25
+ goarch : ${{ matrix.goarch }}
26
+ goversion : " 1.17"
27
+ binary_name : " clang-tidy-cache"
Original file line number Diff line number Diff line change 4
4
release :
5
5
GOOS=darwin GOARCH=amd64 go build -o clang-tidy-cache-darwin-amd64 github.com/ejfitzgerald/clang-tidy-cache
6
6
GOOS=linux GOARCH=amd64 go build -o clang-tidy-cache-linux-amd64 github.com/ejfitzgerald/clang-tidy-cache
7
+ GOOS=windows GOARCH=amd64 go build -o clang-tidy-cache-windows-amd64.exe github.com/ejfitzgerald/clang-tidy-cache
7
8
8
9
.PHONY : default release
You can’t perform that action at this time.
0 commit comments