From c772ee7dd5cf59b3deb16841cda79869d71e4432 Mon Sep 17 00:00:00 2001 From: Carl Zogheib <11421173+carlzogh@users.noreply.github.com> Date: Wed, 13 May 2020 10:38:18 +0100 Subject: [PATCH] Update build workflow to install instead of package This ensures inter-package dependencies are resolved locally --- .../workflows/{maven-pkg-all.yml => maven-build-all.yml} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename .github/workflows/{maven-pkg-all.yml => maven-build-all.yml} (78%) diff --git a/.github/workflows/maven-pkg-all.yml b/.github/workflows/maven-build-all.yml similarity index 78% rename from .github/workflows/maven-pkg-all.yml rename to .github/workflows/maven-build-all.yml index 81e9a8ec..66821eba 100644 --- a/.github/workflows/maven-pkg-all.yml +++ b/.github/workflows/maven-build-all.yml @@ -19,11 +19,14 @@ jobs: uses: actions/setup-java@v1 with: java-version: 1.8 - + + # Install base modules - name: Build core with Maven - run: mvn -B package --file aws-lambda-java-core/pom.xml + run: mvn -B install --file aws-lambda-java-core/pom.xml - name: Build events with Maven - run: mvn -B package --file aws-lambda-java-events/pom.xml + run: mvn -B install --file aws-lambda-java-events/pom.xml + + # Package modules that depend on base modules - name: Build events-sdk-transformer with Maven run: mvn -B package --file aws-lambda-java-events-sdk-transformer/pom.xml - name: Build log4j with Maven