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 1714145e Update ci workflow v20
1714145e is described below
commit 1714145e109f0c9667eb0858ae0dde2fa5c438c3
Author: mfordjody <[email protected]>
AuthorDate: Fri Jul 4 15:29:58 2025 +0800
Update ci workflow v20
---
.github/workflows/release.yaml | 5 +++--
Makefile | 3 ++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 4fee2b13..0b768ef6 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -126,11 +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}
+ make clone-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/
+ mv bin/samples build/
ls -ln build/dubboctl/ ; ls -ln build/dubbo-cp/ ; ls -ln build/
- name: Dubboctl Rename windows
@@ -153,6 +153,7 @@ jobs:
cp build/dubboctl/dubboctl ${DIRNAME}/bin
ls -ln ${DIRNAME}/bin
cp build/dubboctl/README.md build/dubboctl/LICENSE ${DIRNAME}
+ cp build/samples ${DIRNAME}
ls -Rlh ${DIRNAME}
if [ "${{ matrix.goos }}" = "windows" ]; then
zip -r ${FILENAME}.zip ${DIRNAME}/bin
diff --git a/Makefile b/Makefile
index b415c9a8..3b31063f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ build-dubboctl:
-ldflags "-X
github.com/apache/dubbo-kubernetes/pkg/version.gitTag=$(GIT_VERSION)" \
-o bin/dubboctl dubboctl/main.go
-.PHONY: build-sample
+.PHONY: clone-sample
clone-sample:
+ mkdir -p bin
cp -r samples bin/samples
\ No newline at end of file