From 5139b163bc4a36aef7c99ce53d5e8b14c43eb768 Mon Sep 17 00:00:00 2001 From: Junqiu Lei Date: Sat, 6 Jul 2024 16:37:32 -0700 Subject: [PATCH] Fix linux build CI error due to action runner env upgrade node 20 (#1795) * Fix linux build CI error due to github action runner env upgrade node to 20 Signed-off-by: Junqiu Lei * Update security test CI Signed-off-by: Junqiu Lei --------- Signed-off-by: Junqiu Lei --- .github/workflows/CI.yml | 2 ++ .github/workflows/test_security.yml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e1d85eb78..0b9b24d98 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,6 +10,8 @@ on: branches: - "*" - "feature/**" +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: Get-CI-Image-Tag: diff --git a/.github/workflows/test_security.yml b/.github/workflows/test_security.yml index 78206bada..e0f2dbf45 100644 --- a/.github/workflows/test_security.yml +++ b/.github/workflows/test_security.yml @@ -10,6 +10,8 @@ on: branches: - "*" - "feature/**" +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: Get-CI-Image-Tag: @@ -20,7 +22,7 @@ jobs: integ-test-with-security-linux: strategy: matrix: - java: [11, 17, 21] + java: [21] name: Run Integration Tests on Linux runs-on: ubuntu-latest