Hopefully fix

This commit is contained in:
2022-01-04 21:39:46 +01:00
committed by GitHub
parent 618327a8f9
commit a7a522df48

View File

@ -36,10 +36,11 @@ runs:
then
echo "Cache hit - skipping submodule update"
else
REPO_ARGS=
if [[ ! -z "${{ inputs.repo }}" ]]
then
REPO_ARGS=(-C "${{ inputs.repo }}")
else
REPO_ARGS=()
fi
git "${REPO_ARGS[@]}" submodule update --init --recursive ${{ inputs.submodule }}