ci: fix test build system when using template repository from a
different branch then master
This commit is contained in:
parent
d735f1d58d
commit
b494ffaf5b
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ function run_tests()
|
||||||
if [ -z $CHECKOUT_REF_SCRIPT ]; then
|
if [ -z $CHECKOUT_REF_SCRIPT ]; then
|
||||||
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
||||||
else
|
else
|
||||||
$CHECKOUT_REF_SCRIPT esp-idf-template
|
$CHECKOUT_REF_SCRIPT esp-idf-template .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
print_status "Updating template config..."
|
print_status "Updating template config..."
|
||||||
|
|
|
@ -48,7 +48,7 @@ function run_tests()
|
||||||
if [ -z $CHECKOUT_REF_SCRIPT ]; then
|
if [ -z $CHECKOUT_REF_SCRIPT ]; then
|
||||||
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
git checkout ${CI_BUILD_REF_NAME} || echo "Using esp-idf-template default branch..."
|
||||||
else
|
else
|
||||||
$CHECKOUT_REF_SCRIPT esp-idf-template
|
$CHECKOUT_REF_SCRIPT esp-idf-template .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
print_status "Try to clean fresh directory..."
|
print_status "Try to clean fresh directory..."
|
||||||
|
|
Loading…
Reference in a new issue