Update dependency gradle to v8.11 (#230) #981
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
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/* |