From 6163ca0286a5842b0820d55ad132a75140f186f0 Mon Sep 17 00:00:00 2001 From: Richard Giliam Date: Tue, 30 Jul 2024 13:19:38 -0700 Subject: [PATCH] Force node16 usage for actions on amazonlinux 1 & 2 due to glibc requirement of node20 (#345) --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e78da3e..7d56607 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,6 +42,10 @@ jobs: LDFLAGS: ${{ matrix.compiler.ldflags }} UBSAN_OPTIONS: "print_stacktrace=1" ASAN_OPTIONS: "halt_on_error=0" + # Tell GHA to force the use of node16. This will only work while node16 exists in the GHA runners, + # GitHub is moving to node20 (now default) and will eventually remove node16 entirely from the runner. + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true steps: # Amazon Linux needs a newer version of git installed for actions/checkout@v2 - name: Install Dependencies