ci: fix test build system when using template repository from a
different branch then master
This commit is contained in:
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..."
|
||||
|
|
Loading…
Reference in a new issue