Merge branch 'ci/fix_fetch_from_mirror_url_if_exists' into 'master'

ci: fix fetch_from_mirror_url_if_exists

See merge request espressif/esp-idf!27184
This commit is contained in:
Chen Yu Dong 2023-11-21 12:03:52 +08:00
commit d7345a89df

View File

@ -228,7 +228,8 @@ variables:
else
git remote add origin "${MIRROR_REPO_URL}"
fi
git fetch origin --no-recurse-submodules
# mirror url may fail with authentication issue
git fetch origin --no-recurse-submodules || true
fi
# set remote url to CI_REPOSITORY_URL