Skip to content

Commit 937b553

Browse files
carlzoghraupachz
authored andcommitted
Update build workflow to install instead of package (aws#129)
This ensures inter-package dependencies are resolved locally
1 parent 7ef1338 commit 937b553

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/maven-pkg-all.yml renamed to .github/workflows/maven-build-all.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ jobs:
1919
uses: actions/setup-java@v1
2020
with:
2121
java-version: 1.8
22-
22+
23+
# Install base modules
2324
- name: Build core with Maven
24-
run: mvn -B package --file aws-lambda-java-core/pom.xml
25+
run: mvn -B install --file aws-lambda-java-core/pom.xml
2526
- name: Build events with Maven
26-
run: mvn -B package --file aws-lambda-java-events/pom.xml
27+
run: mvn -B install --file aws-lambda-java-events/pom.xml
28+
29+
# Package modules that depend on base modules
2730
- name: Build events-sdk-transformer with Maven
2831
run: mvn -B package --file aws-lambda-java-events-sdk-transformer/pom.xml
2932
- name: Build log4j with Maven

0 commit comments

Comments
 (0)