-
Notifications
You must be signed in to change notification settings - Fork 240
39 lines (31 loc) · 1012 Bytes
/
aws-lambda-java-tests.yml
File metadata and controls
39 lines (31 loc) · 1012 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
37
38
39
# This workflow will be triggered if there will be changes to aws-lambda-java-tests
# package and it builds the package and the packages that depend on it.
name: Java CI aws-lambda-java-tests
on:
push:
branches: [ main ]
paths:
- 'aws-lambda-java-tests/**'
pull_request:
branches: [ '*' ]
paths:
- 'aws-lambda-java-tests/**'
- '.github/workflows/aws-lambda-java-tests.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
java-version: 8
distribution: corretto
# Install base module
- name: Install events with Maven
run: mvn -B install --file aws-lambda-java-events/pom.xml
- name: Install serialization with Maven
run: mvn -B install --file aws-lambda-java-serialization/pom.xml
# Package target module
- name: Package tests with Maven
run: mvn -B package --file aws-lambda-java-tests/pom.xml