ci: Clean submodules after fetching sources
Assuming no submodule dirs contain artifacts that we can't clean
This commit is contained in:
parent
5f3957a20e
commit
3914aaac76
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ update_submodules() {
|
|||
else
|
||||
${SCRIPT_DIR}/mirror-submodule-update.sh || return $?
|
||||
fi
|
||||
# possibility that there are some untracked files left in submodule working directories
|
||||
git submodule foreach --recursive git clean -ffdx
|
||||
}
|
||||
|
||||
del_files() {
|
||||
|
|
Loading…
Reference in a new issue