setup-java/.github/workflows/e2e-versions.yml
Priyagupta108 2e45750012
Some checks are pending
Validate cache / gradle-save (macos-14-large) (push) Waiting to run
Validate cache / gradle-restore (macos-14-large) (push) Blocked by required conditions
Validate cache / maven-save (macos-14-large) (push) Waiting to run
Validate cache / maven-restore (macos-14-large) (push) Blocked by required conditions
Validate cache / sbt-save (macos-14-large) (push) Waiting to run
Validate cache / sbt-restore (macos-14-large) (push) Blocked by required conditions
Validate Java e2e / adopt 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt-openj9 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt-openj9 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / adopt-openj9 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / corretto 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / corretto 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / corretto 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / graalvm 17.0.12 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / graalvm 21 (jdk-x64) - ubuntu-latest (push) Waiting to run
Validate Java e2e / graalvm 24-ea (jdk-x64) - ubuntu-latest (push) Waiting to run
Validate Java e2e / graalvm 21 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / jetbrains 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / jetbrains 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / jetbrains 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / liberica 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / liberica 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / liberica 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / microsoft 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / microsoft 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / microsoft 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / oracle 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / oracle 21 (jdk-x64) - ubuntu-latest (push) Waiting to run
Validate Java e2e / oracle 21 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / sapmachine 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / sapmachine 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / sapmachine 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / semeru 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / semeru 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / semeru 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / temurin 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / temurin 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / temurin 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / zulu 11 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / zulu 17 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / zulu 21 (jdk-x64) - macos-14-large (push) Waiting to run
Validate Java e2e / dragonwell 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell 11.0.13+9 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / graalvm 21.0.4 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 11.0.11 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17.0.7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 21.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 21.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 21.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / oracle 21.0.4 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17.0.7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 21.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 21.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 21.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 21-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 21-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / sapmachine 21-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto 8 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jdk+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jdk+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 11 (jdk+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jdk+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jdk+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jre+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jre+ft-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 11 (jre+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17 (jre+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 21 (jre+jcef-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / jetbrains 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / liberica 21 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / sapmachine 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / zulu 21.0 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 21 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - macos-14-large (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - ubuntu-22.04 (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - ubuntu-22.04 (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - ubuntu-22.04 (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - ubuntu-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - macos-latest-1 (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - windows-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - macos-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - windows-latest-1 (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - ubuntu-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - macos-latest-1 (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - windows-latest-1 (push) Waiting to run
Validate Java e2e / corretto version from file X - macos-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - windows-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / corretto version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / corretto version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file X - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version from file X - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / microsoft version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / temurin version from file X - macos-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - windows-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / temurin version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / temurin version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - ubuntu-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - macos-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X - windows-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - macos-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - windows-latest-1 (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest-1 (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - macos-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - windows-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - macos-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-17.0.10' - windows-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - macos-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-17.0.10' - windows-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - ubuntu-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - macos-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - ubuntu-latest-1 (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-17.0.10' - windows-latest-1 (push) Waiting to run
Test macos-14-large x64 runner
2025-07-30 14:51:48 +05:30

509 lines
16 KiB
YAML

name: Validate Java e2e
on:
push:
branches:
- test-macos-x64-runner
- releases/*
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
jobs:
setup-java-major-versions:
name: ${{ matrix.distribution }} ${{ matrix.version }} (jdk-x64) - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
distribution: [
'temurin',
'adopt',
'adopt-openj9',
'zulu',
'liberica',
'microsoft',
'semeru',
'corretto',
'dragonwell',
'sapmachine',
'jetbrains'
] # internally 'adopt-hotspot' is the same as 'adopt'
version: ['21', '11', '17']
exclude:
- distribution: microsoft
version: 8
- distribution: dragonwell
os: macos-14-large
include:
- distribution: oracle
os: macos-14-large
version: 17
- distribution: oracle
os: windows-latest
version: 21
- distribution: oracle
os: ubuntu-latest
version: 21
- distribution: graalvm
os: macos-latest
version: 17.0.12
- distribution: graalvm
os: windows-latest
version: 21
- distribution: graalvm
os: ubuntu-latest
version: 21
- distribution: graalvm
os: ubuntu-latest
version: '24-ea'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
java-version: ${{ matrix.version }}
distribution: ${{ matrix.distribution }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-major-minor-versions:
name: ${{ matrix.distribution }} ${{ matrix.version }} (jdk-x64) - ${{ matrix.os }}
needs: setup-java-major-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution: ['temurin', 'zulu', 'liberica']
version:
- '11.0'
- '21.0'
- '17.0.7+7'
include:
- distribution: oracle
os: ubuntu-latest
version: '21.0.4'
- distribution: graalvm
os: ubuntu-latest
version: '21.0.4'
- distribution: dragonwell
os: ubuntu-latest
version: '11.0'
- distribution: dragonwell
os: ubuntu-latest
version: '11.0.13+9'
- distribution: sapmachine
os: ubuntu-latest
version: '17.0.7'
- distribution: jetbrains
os: ubuntu-latest
version: '11.0.11'
- distribution: jetbrains
os: ubuntu-latest
version: '17.0.7'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
java-version: ${{ matrix.version }}
distribution: ${{ matrix.distribution }}
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
setup-java-check-latest:
name: ${{ matrix.distribution }} ${{ matrix.version }} - check-latest flag - ${{ matrix.os }}
needs: setup-java-major-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution:
[
'temurin',
'zulu',
'liberica',
'dragonwell',
'sapmachine',
'jetbrains'
]
exclude:
- distribution: dragonwell
os: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version: 11
check-latest: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify Java
run: bash __tests__/verify-java.sh "11" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-multiple-jdks:
name: ${{ matrix.distribution }} ${{ matrix.version }} - multiple jdks - ${{ matrix.os }}
needs: setup-java-major-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution:
[
'temurin',
'zulu',
'liberica',
'dragonwell',
'sapmachine',
'jetbrains'
]
exclude:
- distribution: dragonwell
os: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version: |
11
17
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify Java env variables
run: |
$versionsArr = "11","17"
foreach ($version in $versionsArr)
{
$envName = "JAVA_HOME_${version}_${env:RUNNER_ARCH}"
$JavaVersionPath = [Environment]::GetEnvironmentVariable($envName)
if (-not (Test-Path "$JavaVersionPath")) {
Write-Host "$envName is not found"
exit 1
}
}
shell: pwsh
- name: Verify Java
run: bash __tests__/verify-java.sh "17" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-ea-versions-zulu:
name: zulu ${{ matrix.version }} (jdk-x64) - ${{ matrix.os }}
needs: setup-java-major-minor-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
version: ['17-ea', '15.0.0-ea.14']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
java-version: ${{ matrix.version }}
distribution: zulu
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-ea-versions-temurin:
name: temurin ${{ matrix.version }} (jdk-x64) - ${{ matrix.os }}
needs: setup-java-major-minor-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
version: ['17-ea']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
java-version: ${{ matrix.version }}
distribution: temurin
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-ea-versions-sapmachine:
name: sapmachine ${{ matrix.version }} (jdk-x64) - ${{ matrix.os }}
needs: setup-java-major-minor-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
version: ['17-ea', '21-ea']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
java-version: ${{ matrix.version }}
distribution: sapmachine
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-custom-package-type:
name: ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}-x64) - ${{ matrix.os }}
needs: setup-java-major-minor-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-14-large]
distribution:
['temurin', 'zulu', 'liberica', 'semeru', 'sapmachine', 'jetbrains']
java-package: ['jre']
version: ['17.0']
include:
- distribution: 'zulu'
java-package: jre+fx
version: '21'
os: ubuntu-latest
- distribution: 'zulu'
java-package: jdk+fx
version: '21.0'
os: ubuntu-latest
- distribution: 'liberica'
java-package: jdk+fx
version: '21'
os: ubuntu-latest
- distribution: 'liberica'
java-package: jre+fx
version: '11'
os: ubuntu-latest
- distribution: 'corretto'
java-package: jre
version: '8'
os: windows-latest
- distribution: 'jetbrains'
java-package: jdk+jcef
version: '11'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jdk+jcef
version: '17'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jdk+jcef
version: '21'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jre+jcef
version: '11'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jre+jcef
version: '17'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jre+jcef
version: '21'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jdk+ft
version: '17'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jdk+ft
version: '21'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jre+ft
version: '17'
os: ubuntu-latest
- distribution: 'jetbrains'
java-package: jre+ft
version: '21'
os: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
java-version: ${{ matrix.version }}
java-package: ${{ matrix.java-package }}
distribution: ${{ matrix.distribution }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
# Only Liberica and Zulu provide x86
setup-java-x86:
name: ${{ matrix.distribution }} ${{ matrix.version }} (jdk-${{ matrix.architecture }}) - ${{ matrix.os }}
needs: setup-java-major-minor-versions
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# x86 is not supported on macOS
os: [windows-latest, ubuntu-22.04]
distribution: ['liberica', 'zulu', 'corretto']
version: ['11']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.version }}
architecture: 'x86'
- name: Verify Java
run: bash __tests__/verify-java.sh "${{ matrix.version }}" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-version-both-version-inputs-presents:
name: ${{ matrix.distribution }} version (should be from input) - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution: ['temurin', 'microsoft', 'corretto']
java-version-file: ['.java-version', '.tool-versions']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create .java-version file
shell: bash
run: echo "17" > .java-version
- name: Create .tool-versions file
shell: bash
run: echo "java 17" > .tool-versions
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version: 11
java-version-file: ${{matrix.java-version-file }}
- name: Verify Java
run: bash __tests__/verify-java.sh "11" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-version-from-file-major-notation:
name: ${{ matrix.distribution }} version from file X - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution: ['temurin', 'zulu', 'liberica', 'microsoft', 'corretto']
java-version-file: ['.java-version', '.tool-versions']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create .java-version file
shell: bash
run: echo "11" > .java-version
- name: Create .tool-versions file
shell: bash
run: echo "java 11" > .tool-versions
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version-file: ${{matrix.java-version-file }}
- name: Verify Java
run: bash __tests__/verify-java.sh "11" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-version-from-file-major-minor-patch-notation:
name: ${{ matrix.distribution }} version from file X.Y.Z - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution: ['adopt', 'adopt-openj9', 'zulu']
java-version-file: ['.java-version', '.tool-versions']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create .java-version file
shell: bash
run: echo "17.0.10" > .java-version
- name: Create .tool-versions file
shell: bash
run: echo "java 17.0.10" > .tool-versions
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version-file: ${{matrix.java-version-file }}
- name: Verify Java
run: bash __tests__/verify-java.sh "17.0.10" "${{ steps.setup-java.outputs.path }}"
shell: bash
setup-java-version-from-file-major-minor-patch-with-dist:
name: ${{ matrix.distribution }} version from file 'openjdk64-17.0.10' - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
distribution: ['adopt', 'zulu', 'liberica']
java-version-file: ['.java-version', '.tool-versions']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create .java-version file
shell: bash
run: echo "openjdk64-17.0.10" > .java-version
- name: Create .tool-versions file
shell: bash
run: echo "java openjdk64-17.0.10" > .tool-versions
- name: setup-java
uses: ./
id: setup-java
with:
distribution: ${{ matrix.distribution }}
java-version-file: ${{matrix.java-version-file }}
- name: Verify Java
run: bash __tests__/verify-java.sh "17.0.10" "${{ steps.setup-java.outputs.path }}"
shell: bash