Skip to content

Update actions/setup-java digest to 7a6d8a8 (release/2.1.x) #408

Update actions/setup-java digest to 7a6d8a8 (release/2.1.x)

Update actions/setup-java digest to 7a6d8a8 (release/2.1.x) #408

Workflow file for this run

name: Java CI
on:
push:
branches:
- release/*
pull_request:
branches:
- release/*
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java_version: ['8', '11', '17', '21']
os: ['ubuntu-latest', 'windows-latest']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4
with:
distribution: 'zulu'
java-version: ${{ matrix.java_version }}
- name: Build
run: ./mvnw --no-transfer-progress -V -B -fae -s .github/settings.xml -e install