forked from aws/aws-lambda-java-libs
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 982 Bytes
/
aws-lambda-java-events.yml
File metadata and controls
37 lines (29 loc) · 982 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
34
35
36
# This workflow will be triggered if there will be changes to aws-lambda-java-events
# package and it builds the package and the packages that depend on it.
name: Java CI aws-lambda-java-events
on:
push:
branches: [ master ]
paths:
- 'aws-lambda-java-events/**'
pull_request:
branches: [ '*' ]
paths:
- 'aws-lambda-java-events/**'
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 module
- name: Install events with Maven
run: mvn -B install --file aws-lambda-java-events/pom.xml
# Package modules that depend on base module
- name: Package serialization with Maven
run: mvn -B package --file aws-lambda-java-serialization/pom.xml
- name: Package events-sdk-transformer with Maven
run: mvn -B package --file aws-lambda-java-events-sdk-transformer/pom.xml