From 242ac54c6a3fa185f893400b52d7f27fe2e6c785 Mon Sep 17 00:00:00 2001 From: rishav-karanjit Date: Tue, 21 Apr 2026 11:44:13 -0700 Subject: [PATCH 1/2] chore(ci): fix Test Examples for v3.x-java daily ci --- .github/workflows/ci_examples_java.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_examples_java.yml b/.github/workflows/ci_examples_java.yml index 55d4e84031..2f4342085e 100644 --- a/.github/workflows/ci_examples_java.yml +++ b/.github/workflows/ci_examples_java.yml @@ -113,7 +113,12 @@ jobs: run: | # Run simple examples gradle -p runtimes/java/DynamoDbEncryption test - gradle -p runtimes/java/DDBECwithSDKV2 test - # Run migration examples - gradle -p runtimes/java/Migration/PlaintextToAWSDBE test - gradle -p runtimes/java/Migration/DDBECv2ToAWSDBE test + # Same workflow for daily CI works for main and v3.x-Java branch so we check the branch name + if [[ "${{ inputs.branch }}" == "v3.x-Java" ]]; then + gradle -p runtimes/java/Migration/PlaintextToAWSDBE test + gradle -p runtimes/java/Migration/DDBECToAWSDBE test + else + gradle -p runtimes/java/DDBECwithSDKV2 test + gradle -p runtimes/java/Migration/PlaintextToAWSDBE test + gradle -p runtimes/java/Migration/DDBECv2ToAWSDBE test + fi From db03eff152a501fc36a3f692bbf65fec20061a3c Mon Sep 17 00:00:00 2001 From: rishav-karanjit Date: Tue, 21 Apr 2026 12:29:15 -0700 Subject: [PATCH 2/2] m --- .github/workflows/ci_examples_java.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_examples_java.yml b/.github/workflows/ci_examples_java.yml index 2f4342085e..678d71c5a7 100644 --- a/.github/workflows/ci_examples_java.yml +++ b/.github/workflows/ci_examples_java.yml @@ -110,6 +110,7 @@ jobs: - name: Test Examples working-directory: ./Examples + shell: bash run: | # Run simple examples gradle -p runtimes/java/DynamoDbEncryption test