Hopefully fix
This commit is contained in:
@ -36,10 +36,11 @@ runs:
|
|||||||
then
|
then
|
||||||
echo "Cache hit - skipping submodule update"
|
echo "Cache hit - skipping submodule update"
|
||||||
else
|
else
|
||||||
REPO_ARGS=
|
|
||||||
if [[ ! -z "${{ inputs.repo }}" ]]
|
if [[ ! -z "${{ inputs.repo }}" ]]
|
||||||
then
|
then
|
||||||
REPO_ARGS=(-C "${{ inputs.repo }}")
|
REPO_ARGS=(-C "${{ inputs.repo }}")
|
||||||
|
else
|
||||||
|
REPO_ARGS=()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git "${REPO_ARGS[@]}" submodule update --init --recursive ${{ inputs.submodule }}
|
git "${REPO_ARGS[@]}" submodule update --init --recursive ${{ inputs.submodule }}
|
||||||
|
Reference in New Issue
Block a user