Update ci.yml

This commit is contained in:
Benoist 2025-03-02 01:48:41 +01:00 committed by GitHub
parent c4e6d2fe38
commit 06ceb89957
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,6 +84,7 @@ jobs:
git clone "$1" --depth 1 --branch "$2" "$3" git clone "$1" --depth 1 --branch "$2" "$3"
fi fi
cd "$3" cd "$3"
git submodule deinit --all --force
git remote set-url origin "$1" git remote set-url origin "$1"
git fetch --depth 1 origin "$2" git fetch --depth 1 origin "$2"
git checkout --force --recurse-submodules FETCH_HEAD git checkout --force --recurse-submodules FETCH_HEAD