forked from aws/aws-lambda-java-libs
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 881 Bytes
/
maven-build-all.yml
File metadata and controls
33 lines (26 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This workflow will build all Java packages in this project with Maven (Java 8)
name: Java CI with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
# Install base modules
- name: Build core with Maven
run: mvn -B install --file aws-lambda-java-core/pom.xml
- name: Build events with Maven
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 log4j2 with Maven
run: mvn -B package --file aws-lambda-java-log4j2/pom.xml