This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
The following commit(s) were added to refs/heads/develop by this push:
new b47a5925 fix(ci): ensure samples directory is removed before cloning &
rm useless sub git dir (#775)
b47a5925 is described below
commit b47a5925f5ba4153d12a6ed1b59e123805861179
Author: Xuetao Li <[email protected]>
AuthorDate: Sun Oct 5 09:07:54 2025 +0800
fix(ci): ensure samples directory is removed before cloning & rm useless
sub git dir (#775)
* fix(ci): ensure samples directory is removed before cloning & rm useless
sub git dir
* Revert "fix(ci): ensure samples directory is removed before cloning & rm
useless sub git dir"
This reverts commit 1a073e771d029d7dc4bb5836be51a824dcc5e869.
* revert
---
.github/workflows/github-actions.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/github-actions.yml
b/.github/workflows/github-actions.yml
index 9a9e9aa8..6c11adc6 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -158,6 +158,9 @@ jobs:
if: steps.cache_samples.outputs.cache-hit != 'true'
shell: bash
run: |
+ if [ -d "$SAMPLES_CLONE_DIR" ]; then
+ rm -rf "$SAMPLES_CLONE_DIR"
+ fi
git clone --depth 1 -b "$SAMPLES_BRANCH" "$SAMPLES_REPO_URL"
"$SAMPLES_CLONE_DIR"
- name: Wire samples to local pixiu