Skip to content

Commit 70e2d8b

Browse files
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 a9e4768 commit 70e2d8b

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
@@ -23,6 +23,10 @@ jobs:
2323
java-version: 8
2424
distribution: corretto
2525

26+
- name: Build and install serialization dependency locally
27+
working-directory: ./aws-lambda-java-serialization
28+
run: mvn clean install -DskipTests
29+
2630
- name: Runtime Interface Client smoke tests - Run 'pr' target
2731
working-directory: ./aws-lambda-java-runtime-interface-client
2832
run: make pr
@@ -51,6 +55,10 @@ jobs:
5155
- name: Available buildx platforms
5256
run: echo ${{ steps.buildx.outputs.platforms }}
5357

58+
- name: Build and install serialization dependency locally
59+
working-directory: ./aws-lambda-java-serialization
60+
run: mvn clean install -DskipTests
61+
5462
- name: Test Runtime Interface Client xplatform build - Run 'build' target
5563
working-directory: ./aws-lambda-java-runtime-interface-client
5664
run: make build

0 commit comments

Comments
 (0)