From 0343009165baf6b7970a9d0fb59afa2b851ff075 Mon Sep 17 00:00:00 2001 From: Kyle Date: Sat, 16 Aug 2025 16:14:16 +0800 Subject: [PATCH] Update rb_setup.sh --- Scripts/CI/rb_setup.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Scripts/CI/rb_setup.sh b/Scripts/CI/rb_setup.sh index 551cd43..1bb6f4c 100755 --- a/Scripts/CI/rb_setup.sh +++ b/Scripts/CI/rb_setup.sh @@ -13,8 +13,14 @@ clone_checkout_rb() { cd .. if [ ! -d DarwinPrivateFrameworks ]; then gh repo clone OpenSwiftUIProject/DarwinPrivateFrameworks + cd DarwinPrivateFrameworks + else + echo "DarwinPrivateFrameworks already exists, skipping clone." + cd DarwinPrivateFrameworks + git fetch --all --quiet + git stash --quiet || true + git reset --hard --quiet origin/main fi - cd DarwinPrivateFrameworks git checkout --quiet $revision }