Skip to content

Commit

Permalink
Refs #21286: Fix CDR version in tests
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Jul 11, 2024
1 parent 847046b commit b036011
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/reusable-ubuntu-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ on:
required: false
type: boolean
default: false
env:
cdr-test-flag: ${{ inputs.fastcdr-branch == '1.1.x' && '-Dcdr_version=v1' || (inputs.fastcdr-branch == '2.x' && '-Dcdr_version=v2' || '-Dcdr_version=both' )}}
defaults:
run:
shell: bash
Expand Down Expand Up @@ -211,4 +213,4 @@ jobs:
run: |
source ${{ github.workspace }}/install/local_setup.bash
cd ${{ github.workspace }}/src/fastddsgen
./gradlew test
./gradlew test ${{ env.cdr-test-flag }}

0 comments on commit b036011

Please sign in to comment.