This is an automated email from the ASF dual-hosted git repository. zhongxjian pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push: new a2569c0f Update ci workflow v19 a2569c0f is described below commit a2569c0f4d95b116d721c9673340794e65d95f05 Author: mfordjody <11638...@qq.com> AuthorDate: Fri Jul 4 15:22:53 2025 +0800 Update ci workflow v19 --- .github/workflows/release.yaml | 3 ++- Makefile | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5e17880f..4fee2b13 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -126,9 +126,11 @@ jobs: mkdir -p build/dubboctl make build-dubbo-cp GOOS=${GOOS} GOARCH=${GOARCH} GIT_VERSION=${GIT_VERSION} make build-dubboctl GOOS=${GOOS} GOARCH=${GOARCH} GIT_VERSION=${GIT_VERSION} + make build-sample GOOS=${GOOS} GOARCH=${GOARCH} GIT_VERSION=${GIT_VERSION} cp README.md LICENSE build/ mv bin/dubbo-cp* build/dubbo-cp/ mv bin/dubboctl* build/dubboctl/ + mv bin/samples* build/ ls -ln build/dubboctl/ ; ls -ln build/dubbo-cp/ ; ls -ln build/ - name: Dubboctl Rename windows @@ -190,7 +192,6 @@ jobs: cp build/dubbo-cp/dubbo-cp ${DIRNAME}/bin/ cp build/README.md build/LICENSE ${DIRNAME} cp build/dubbo-cp/dubbo-cp.yaml ${DIRNAME} - cp -r ../samples/ ${DIRNAME}/samples ls -Rlh ${DIRNAME} if [ "${{ matrix.goos }}" = "windows" ]; then zip -r ${FILENAME}.zip ${DIRNAME} diff --git a/Makefile b/Makefile index ec3c0311..b415c9a8 100644 --- a/Makefile +++ b/Makefile @@ -25,4 +25,8 @@ build-dubbo-cp: build-dubboctl: CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build \ -ldflags "-X github.com/apache/dubbo-kubernetes/pkg/version.gitTag=$(GIT_VERSION)" \ - -o bin/dubboctl dubboctl/main.go \ No newline at end of file + -o bin/dubboctl dubboctl/main.go + +.PHONY: build-sample +clone-sample: + cp -r samples bin/samples \ No newline at end of file