From 99c9511a7e1a4c9178fdb0f3ebc57e8edeab1608 Mon Sep 17 00:00:00 2001 From: SonicGDX <114670430+SonicGDX@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:35:34 +0100 Subject: [PATCH] set environment variable across whole workflows --- .github/workflows/pushaction.yml | 3 +++ .github/workflows/releaseaction.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pushaction.yml b/.github/workflows/pushaction.yml index 9374586..85c2ff9 100644 --- a/.github/workflows/pushaction.yml +++ b/.github/workflows/pushaction.yml @@ -3,6 +3,9 @@ name: Compile and deploy snapshot artifacts on: [push, pull_request] # Don't worry, the actual deployment is guarded with an "if" and only done on push to master env: GRADLE_USER_HOME: .gradle + # Needed to use Node 16 for the checkout action. Node 20 does not work with glibc 2.17 + # See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: macos: diff --git a/.github/workflows/releaseaction.yml b/.github/workflows/releaseaction.yml index 1e94410..7bd3fe8 100644 --- a/.github/workflows/releaseaction.yml +++ b/.github/workflows/releaseaction.yml @@ -6,6 +6,9 @@ on: env: GRADLE_USER_HOME: .gradle + # Needed to use Node 16 for the checkout action. Node 20 does not work with glibc 2.17 + # See https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true jobs: macos: