diff --git a/.github/actions/docker-build/action.yaml b/.github/actions/docker-build/action.yaml index 57e92b349ff..df338a836d0 100644 --- a/.github/actions/docker-build/action.yaml +++ b/.github/actions/docker-build/action.yaml @@ -33,7 +33,12 @@ runs: run: | mkdir src vcs import src < autoware.repos - [ -n "${{ inputs.additional-repos }}" ] && vcs import src < ${{ inputs.additional-repos }} + shell: bash + + - name: Import additional repositories + if: ${{ inputs.additional-repos != '' }} + run: | + vcs import src < ${{ inputs.additional-repos }} shell: bash - name: Cache ccache