Skip to content

Commit

Permalink
Force node16 usage for actions on amazonlinux 1 & 2 due to glibc requ…
Browse files Browse the repository at this point in the history
…irement of node20 (#345)
  • Loading branch information
nirosys authored Jul 30, 2024
1 parent 4ca142b commit 6163ca0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6163ca0

Please sign in to comment.