Skip to content

Update aws-java-sdk-v2 monorepo #989

Update aws-java-sdk-v2 monorepo

Update aws-java-sdk-v2 monorepo #989

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
java:
name: Java/Gradle
runs-on: ubuntu-22.04
strategy:
max-parallel: 4
matrix:
java-version: [11, 17, 18]
steps:
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
# JDK 17 is needed for `nessieQuarkusApp` to run the Nessie server.
java-version: |
17
${{ matrix.java-version != '17' && matrix.java-version || '' }}
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: --rerun-tasks assemble ${{ env.ADDITIONAL_GRADLE_OPTS }} check publishToMavenLocal --scan
# since the `nessieQuarkusApp` gradle plugin expects the below variable
env:
JDK17_HOME: ${{ env.JAVA_HOME_17_X64 }}
- name: Capture test results
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-results
path: |
**/build/reports/*
**/build/test-results/*