From 7445fdd7aa7d184e1abb61bb543d8c3a441a1dc5 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 13:50:11 -0700 Subject: [PATCH] Bump java to 21 (#1014) (#1017) (cherry picked from commit b24ed48b4e6684726cde1174fd7b3ed95eded476) Signed-off-by: Derek Ho Signed-off-by: github-actions[bot] Co-authored-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: