From ba0ea42914eb933d2abadfa287e6261001d30787 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Sun, 4 Aug 2024 17:40:17 -0500 Subject: [PATCH] Fix nodejs/glibc problem with old container images. (#1548) This problem is caused by this issue: https://github.com/actions/checkout/issues/1809 Several comments include documentation on various environment variables to force it to use the older nodejs release still, but probably those various workarounds will stop working eventually. --- .github/workflows/amazon_linux_tests.yml | 6 ++++++ .github/workflows/ubuntu_tests.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/amazon_linux_tests.yml b/.github/workflows/amazon_linux_tests.yml index 9703992..d143383 100644 --- a/.github/workflows/amazon_linux_tests.yml +++ b/.github/workflows/amazon_linux_tests.yml @@ -5,6 +5,12 @@ on: pull_request: types: [ opened, reopened, synchronize ] +# make GHA actions use node16 to use ancient container images +# See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ +# Unclear how long this will work though +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: builds: strategy: diff --git a/.github/workflows/ubuntu_tests.yml b/.github/workflows/ubuntu_tests.yml index 8ee3dee..5a677c2 100644 --- a/.github/workflows/ubuntu_tests.yml +++ b/.github/workflows/ubuntu_tests.yml @@ -5,6 +5,12 @@ on: pull_request: types: [ opened, reopened, synchronize ] +# make GHA actions use node16 to use ancient container images +# See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ +# Unclear how long this will work though +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true + jobs: builds: strategy: