diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b1514501f..4cd323bc7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,12 +5,12 @@ jobs: strategy: fail-fast: false matrix: - java: [8-jdk, 11-jdk, 16-jdk, 17-jdk] - runs-on: ubuntu-20.04 + java: [21-jdk] + runs-on: ubuntu-latest container: image: openjdk:${{ matrix.java }} options: --user root steps: - uses: actions/checkout@v4 - uses: gradle/actions/wrapper-validation@v3 - - run: ./gradlew build publishToMavenLocal --stacktrace \ No newline at end of file + - run: ./gradlew build publishToMavenLocal --stacktrace