Fix REPO_ARGS again
This commit is contained in:
@ -18,12 +18,12 @@ runs:
|
||||
run: |
|
||||
if [[ ! -z "${{ inputs.repo }}" ]]
|
||||
then
|
||||
REPO_ARGS=-C "${{ inputs.repo }}"
|
||||
REPO_ARGS=(-C "${{ inputs.repo }}")
|
||||
else
|
||||
REPO_ARGS=
|
||||
REPO_ARGS=()
|
||||
fi
|
||||
|
||||
SUBMODULES="$(git $REPO_ARGS submodule)"
|
||||
SUBMODULES="$(git "${REPO_ARGS[@]}" submodule)"
|
||||
if [[ $? -ne 0 ]]
|
||||
then
|
||||
echo ERROR git submodule failed
|
||||
|
Reference in New Issue
Block a user