From fd4b51d8efeddd5cf574f88df761ee93807d87f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Jul 2024 18:35:36 +0000 Subject: [PATCH] Bump java to 21 (#1014) Signed-off-by: Derek Ho (cherry picked from commit b24ed48b4e6684726cde1174fd7b3ed95eded476) Signed-off-by: github-actions[bot] --- .../reports-scheduler-test-and-build-workflow.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reports-scheduler-test-and-build-workflow.yml b/.github/workflows/reports-scheduler-test-and-build-workflow.yml index 4eefba56..ce324719 100644 --- a/.github/workflows/reports-scheduler-test-and-build-workflow.yml +++ b/.github/workflows/reports-scheduler-test-and-build-workflow.yml @@ -13,8 +13,6 @@ jobs: strategy: matrix: java: - - 11 - - 17 - 21 runs-on: ubuntu-latest container: @@ -24,6 +22,9 @@ jobs: # need to switch to root so that github actions can install runner binary on container without permission issues. options: --user root + env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + steps: - name: Set up JDK ${{ matrix.java }} uses: actions/setup-java@v1 @@ -67,8 +68,6 @@ jobs: strategy: matrix: java: - - 11 - - 17 - 21 runs-on: windows-latest @@ -100,8 +99,7 @@ jobs: strategy: matrix: java: - - 11 - - 17 + - 21 runs-on: macos-latest steps: