Stage aws-lambda-java-events 3.11.6 (#483) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will be triggered if there will be changes to aws-lambda-java-core | |
# package and it builds the package and the packages that depend on it. | |
name: Java CI samples | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'samples/kinesis-firehose-event-handler/**' | |
pull_request: | |
branches: [ '*' ] | |
paths: | |
- 'samples/kinesis-firehose-event-handler/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 8 | |
distribution: corretto | |
# Install events module | |
- name: Install events with Maven | |
run: mvn -B install --file aws-lambda-java-events/pom.xml | |
# Install tests module | |
- name: Install tests with Maven | |
run: mvn -B install --file aws-lambda-java-tests/pom.xml | |
# Install samples | |
- name: Install Kinesis Firehose Sample with Maven | |
run: mvn -B install --file samples/kinesis-firehose-event-handler/pom.xml |