File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,15 +42,49 @@ jobs:
4242 asset-name : ccmanager-${{ matrix.goos }}-${{ matrix.goarch }}
4343 file : ccmanager
4444
45+ # Separate mac amd64 build to support fsevents dependency
46+ buildmacamd64 :
47+ runs-on : macos-13
48+ strategy :
49+ matrix :
50+ goos :
51+ - darwin
52+ goarch :
53+ - amd64
54+
55+ env :
56+ GOOS : ${{ matrix.goos }}
57+ GOARCH : ${{ matrix.goarch }}
58+
59+ steps :
60+ - uses : actions/checkout@v3
61+
62+ - name : Set up Go
63+ uses : actions/setup-go@v3
64+ with :
65+ go-version : " 1.21"
66+
67+ - name : Build
68+ run : go build -o ccmanager cmd/ccmanager.go
69+
70+ - name : Release file
71+ uses : djnicholson/release-action@v2.10
72+ with :
73+ token : ${{ secrets.GITHUB_TOKEN }}
74+ release-name : ${{ github.event.release.name }}
75+ tag-name : ${{ github.event.release.tag_name }}
76+ asset-name : ccmanager-${{ matrix.goos }}-${{ matrix.goarch }}
77+ file : ccmanager
78+
79+
4580 # Separate mac build to support fsevents dependency
46- buildmac :
81+ buildmacarm64 :
4782 runs-on : macos-14 # beta arm runner
4883 strategy :
4984 matrix :
5085 goos :
5186 - darwin
5287 goarch :
53- - amd64
5488 - arm64
5589
5690 env :
You can’t perform that action at this time.
0 commit comments