Skip to content

Commit 428d125

Browse files
FullyTypedMohammed Ehab
authored andcommitted
Fix runtime interface client workflows to use local serialization dependency
Add local build step for aws-lambda-java-serialization before building runtime interface client. ## Why This Fix is Needed The runtime interface client depends on aws-lambda-java-serialization version 1.1.6, but this version doesn't exist in Maven Central yet. By building and installing the serialization package locally first, we ensure: 1. The correct version (1.1.6) is available in the local Maven repository 2. The runtime interface client build won't fail looking for a non-existent version on Maven Central 3. The workflow tests the actual code changes together ## Changes Made - runtime-interface-client_merge_to_main.yml: Added local serialization build step - runtime-interface-client_pr.yml: Added local serialization build step to both smoke-test and build jobs This ensures CI/CD pipeline works correctly with the new dependency versions.
1 parent 8fe3580 commit 428d125

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/runtime-interface-client_merge_to_main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ jobs:
4747
- name: Available buildx platforms
4848
run: echo ${{ steps.buildx.outputs.platforms }}
4949

50+
- name: Build and install serialization dependency locally
51+
working-directory: ./aws-lambda-java-serialization
52+
run: mvn clean install -DskipTests
53+
5054
- name: Test Runtime Interface Client xplatform build - Run 'build' target
5155
working-directory: ./aws-lambda-java-runtime-interface-client
5256
run: make build

.github/workflows/runtime-interface-client_pr.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
working-directory: ./aws-lambda-java-serialization
3232
run: mvn clean install -DskipTests
3333

34+
- name: Build and install serialization dependency locally
35+
working-directory: ./aws-lambda-java-serialization
36+
run: mvn clean install -DskipTests
37+
3438
- name: Runtime Interface Client smoke tests - Run 'pr' target
3539
working-directory: ./aws-lambda-java-runtime-interface-client
3640
run: make pr
@@ -59,6 +63,10 @@ jobs:
5963
- name: Available buildx platforms
6064
run: echo ${{ steps.buildx.outputs.platforms }}
6165

66+
- name: Build and install serialization dependency locally
67+
working-directory: ./aws-lambda-java-serialization
68+
run: mvn clean install -DskipTests
69+
6270
- name: Test Runtime Interface Client xplatform build - Run 'build' target
6371
working-directory: ./aws-lambda-java-runtime-interface-client
6472
run: make build

0 commit comments

Comments
 (0)