From b3598e299c416caeb68f5a3da571198cb1ef7bc9 Mon Sep 17 00:00:00 2001 From: Lennart Reiher Date: Thu, 5 Sep 2024 20:43:34 +0000 Subject: [PATCH] fix yml breaking syntax --- .github/workflows/generate-and-test.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/generate-and-test.yml b/.github/workflows/generate-and-test.yml index 2b89d5e..551d04d 100644 --- a/.github/workflows/generate-and-test.yml +++ b/.github/workflows/generate-and-test.yml @@ -67,18 +67,18 @@ jobs: git config --global user.name "dummy" git config --global user.email "dummy@dummy.com" - name: Generate packages - run: > - copier copy --trust --defaults - -d template=${{ matrix.template }} - -d auto_shutdown=${{ matrix.auto_shutdown }} - -d package_name=${{ matrix.package_name }} - $( [ "${{ matrix.is_component }}" = "true" ] && echo "-d is_component=true" ) - $( [ "${{ matrix.is_lifecycle }}" = "true" ] && echo "-d is_lifecycle=true" ) - $( [ "${{ matrix.has_service_server }}" = "true" ] && echo "-d has_service_server=true" ) - $( [ "${{ matrix.has_action_server }}" = "true" ] && echo "-d has_action_server=true" ) - $( [ "${{ matrix.has_timer }}" = "true" ] && echo "-d has_timer=true" ) - $( [ "${{ matrix.has_params }}" = "false" ] && echo "-d has_params=false" ) - $( [ "${{ matrix.has_launch_file }}" = "false" ] && echo "-d has_launch_file=false" ) + run: | + copier copy --trust --defaults \ + -d template=${{ matrix.template }} \ + -d auto_shutdown=${{ matrix.auto_shutdown }} \ + -d package_name=${{ matrix.package_name }} \ + $( [ "${{ matrix.is_component }}" = "true" ] && echo "-d is_component=true" ) \ + $( [ "${{ matrix.is_lifecycle }}" = "true" ] && echo "-d is_lifecycle=true" ) \ + $( [ "${{ matrix.has_service_server }}" = "true" ] && echo "-d has_service_server=true" ) \ + $( [ "${{ matrix.has_action_server }}" = "true" ] && echo "-d has_action_server=true" ) \ + $( [ "${{ matrix.has_timer }}" = "true" ] && echo "-d has_timer=true" ) \ + $( [ "${{ matrix.has_params }}" = "false" ] && echo "-d has_params=false" ) \ + $( [ "${{ matrix.has_launch_file }}" = "false" ] && echo "-d has_launch_file=false" ) \ . packages - name: Upload artifacts uses: actions/upload-artifact@v4