mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
ci: fix test build system when using template repository from a
different branch then master
This commit is contained in:
committed by
Anton Maklakov
parent
a7f573c3a1
commit
ee8ab79696
@ -46,7 +46,7 @@ function run_tests()
|
||||
if [ -z $CHECKOUT_REF_SCRIPT ]; then
|
||||
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
||||
else
|
||||
$CHECKOUT_REF_SCRIPT esp-idf-template
|
||||
$CHECKOUT_REF_SCRIPT esp-idf-template .
|
||||
fi
|
||||
|
||||
print_status "Updating template config..."
|
||||
|
@ -48,7 +48,7 @@ function run_tests()
|
||||
if [ -z $CHECKOUT_REF_SCRIPT ]; then
|
||||
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
||||
else
|
||||
$CHECKOUT_REF_SCRIPT esp-idf-template
|
||||
$CHECKOUT_REF_SCRIPT esp-idf-template .
|
||||
fi
|
||||
|
||||
print_status "Try to clean fresh directory..."
|
||||
|
Reference in New Issue
Block a user