File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -110,10 +110,16 @@ jobs:
110110
111111 - name : Test Examples
112112 working-directory : ./Examples
113+ shell : bash
113114 run : |
114115 # Run simple examples
115116 gradle -p runtimes/java/DynamoDbEncryption test
116- gradle -p runtimes/java/DDBECwithSDKV2 test
117- # Run migration examples
118- gradle -p runtimes/java/Migration/PlaintextToAWSDBE test
119- gradle -p runtimes/java/Migration/DDBECv2ToAWSDBE test
117+ # Same workflow for daily CI works for main and v3.x-Java branch so we check the branch name
118+ if [[ "${{ inputs.branch }}" == "v3.x-Java" ]]; then
119+ gradle -p runtimes/java/Migration/PlaintextToAWSDBE test
120+ gradle -p runtimes/java/Migration/DDBECToAWSDBE test
121+ else
122+ gradle -p runtimes/java/DDBECwithSDKV2 test
123+ gradle -p runtimes/java/Migration/PlaintextToAWSDBE test
124+ gradle -p runtimes/java/Migration/DDBECv2ToAWSDBE test
125+ fi
You can’t perform that action at this time.
0 commit comments