Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jun 16, 2023
1 parent 441e3e2 commit bbd6a73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
- name: Get CLI version
uses: ./
with:
command: ''
command: 'init'
command_args: '-V'
6 changes: 5 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,13 @@ if [ -n "$INPUT_TRANSLATION" ]; then
set -- "$@" --translation="${INPUT_TRANSLATION}"
fi

if [ -n "$INPUT_COMMAND_ARGS" ]; then
set -- "$@" ${INPUT_COMMAND_ARGS}
fi

#EXECUTE COMMANDS

if [ -n "$INPUT_COMMAND" ] || [ -n "$INPUT_COMMAND_ARGS" ]; then
if [ -n "$INPUT_COMMAND" ]; then
echo "RUNNING COMMAND crowdin $INPUT_COMMAND $INPUT_COMMAND_ARGS"
crowdin $INPUT_COMMAND $INPUT_COMMAND_ARGS

Expand Down

0 comments on commit bbd6a73

Please sign in to comment.