Skip to content

Commit

Permalink
fix yml breaking syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Sep 5, 2024
1 parent 190fd58 commit b3598e2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/generate-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,18 @@ jobs:
git config --global user.name "dummy"
git config --global user.email "[email protected]"
- 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
Expand Down

0 comments on commit b3598e2

Please sign in to comment.