From a2e903077bcfbb40d44e5aac2942da431cc13f80 Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Tue, 19 Nov 2024 19:52:12 +0900 Subject: [PATCH] Update action.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: M. Fatih Cırıt --- .github/actions/docker-build/action.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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