From 3a4427e04093dc5ca1a37e2f2a2f89f0997fae3f Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Thu, 24 Mar 2022 09:42:00 -0700 Subject: [PATCH] Update GitHub Actions for JDK 18 GA, JDK 19 EA (#1428) --- .github/workflows/ci.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 596cb3d4ca..1360814ad8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,31 +1,32 @@ # Full CI matrix on all pushes to master branch, and all PRs name: Java CI -on: +on: workflow_dispatch: pull_request: push: branches: - master - + jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: - java: [8, 11, 17, 18-ea] + java: [8, 11, 17, 18, 19-ea] os: [ubuntu-latest, macos-latest] # Run all tests even if one fails fail-fast: false name: Test JDK ${{ matrix.java }}, ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: ${{ matrix.java }} - - name: Linux requirements + java-version: ${{ matrix.java }} + distribution: 'zulu' + - name: Linux requirements if: contains(matrix.os, 'ubuntu') run: sudo apt-get -y install texinfo - name: macOS requirements @@ -42,4 +43,4 @@ jobs: - name: Build with Ant run: | ant test - ant test-platform \ No newline at end of file + ant test-platform