Bump actions/checkout from 3 to 4 #45
Workflow file for this run
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 aws-lambda-java-core | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'aws-lambda-java-core/**' | |
pull_request: | |
branches: [ '*' ] | |
paths: | |
- 'aws-lambda-java-core/**' | |
- '.github/workflows/aws-lambda-java-core.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 core with Maven | |
run: mvn -B install --file aws-lambda-java-core/pom.xml | |
# Package modules that depend on base module | |
- name: Package log4j2 with Maven | |
run: mvn -B package --file aws-lambda-java-log4j2/pom.xml | |
# Test Runtime Interface Client | |
- name: Run 'pr' target | |
working-directory: ./aws-lambda-java-runtime-interface-client | |
run: make pr | |
env: | |
IS_JAVA_8: true |