File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -314,10 +314,6 @@ if [ "$INPUT_DEBUG_MODE" = true ] || [ -n "$RUNNER_DEBUG" ]; then
314314 set -- " $@ " --verbose --debug
315315fi
316316
317- if [ -n " $INPUT_CROWDIN_BRANCH_NAME " ]; then
318- set -- " $@ " --branch=" ${INPUT_CROWDIN_BRANCH_NAME} "
319- fi
320-
321317if [ -n " $INPUT_CONFIG " ]; then
322318 set -- " $@ " --config=" ${INPUT_CONFIG} "
323319fi
@@ -355,6 +351,12 @@ if [ -n "$INPUT_COMMAND_ARGS" ]; then
355351 set -- " $@ " ${INPUT_COMMAND_ARGS}
356352fi
357353
354+ DOWNLOAD_BUNDLE_ARGS=" $@ "
355+
356+ if [ -n " $INPUT_CROWDIN_BRANCH_NAME " ]; then
357+ set -- " $@ " --branch=" ${INPUT_CROWDIN_BRANCH_NAME} "
358+ fi
359+
358360# EXECUTE COMMANDS
359361
360362if [ -n " $INPUT_COMMAND " ]; then
410412if [ " $INPUT_DOWNLOAD_BUNDLE " ]; then
411413 echo " DOWNLOADING BUNDLE $INPUT_DOWNLOAD_BUNDLE "
412414
413- crowdin bundle download $INPUT_DOWNLOAD_BUNDLE $@
415+ crowdin bundle download $INPUT_DOWNLOAD_BUNDLE $DOWNLOAD_BUNDLE_ARGS
414416
415417 if [ " $INPUT_PUSH_TRANSLATIONS " = true ]; then
416418 [ -z " ${GITHUB_TOKEN} " ] && {
You can’t perform that action at this time.
0 commit comments