File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 1+ name : Release Binary
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ tags :
8+ - ' v*'
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ container : techknowlogick/xgo:go-1.19.x
14+ steps :
15+
16+ - name : Checkout repository
17+ uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0
20+
21+ # - name: Release binary
22+ # run: |
23+ # ls -al
24+ # make release
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ GO ?= go
77SHASUM ?= shasum -a 256
88HAS_GO = $(shell hash $(GO ) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
99XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
10- XGO_VERSION := go-1.18 .x
11- GXZ_PAGAGE ?= github.com/ulikunitz/xz/cmd/
[email protected] .
10 10+ XGO_VERSION := go-1.19 .x
11+ GXZ_PAGAGE ?= github.com/ulikunitz/xz/cmd/
[email protected] .
11 1212
1313LINUX_ARCHS ?= linux/amd64,linux/arm64
14- DARWIN_ARCHS ?= darwin-12/amd64,darwin-12/arm64
15- WINDOWS_ARCHS ?= windows/amd64
14+ DARWIN_ARCHS ?= darwin-10. 12/amd64,darwin-10. 12/arm64
15+ WINDOWS_ARCHS ?= windows/*
1616
1717ifneq ($(shell uname) , Darwin)
1818 EXTLDFLAGS = -extldflags "-static" $(null)
@@ -119,7 +119,7 @@ deps-backend:
119119 $(GO ) install $(XGO_PACKAGE )
120120
121121.PHONY : release
122- release : release-linux release-copy release-compress release-check
122+ release : release-linux release-darwin release-windows release- copy release-compress release-check
123123
124124$(DIST_DIRS ) :
125125 mkdir -p $(DIST_DIRS )
You can’t perform that action at this time.
0 commit comments