Skip to content

Commit

Permalink
Revert #5397 now that AL2023/Node 20 rollout is done (#5916)
Browse files Browse the repository at this point in the history
This is the fallback we have been using for a while to avoid the
upgrade.
  • Loading branch information
huydhn authored Nov 14, 2024
1 parent ec9b33e commit d242481
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,6 @@ EOF
popd
}

# TODO (huydhn): Remove this after moving to AmazonLinux2023
fallback_to_node16() {
# https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
FALLBACK_TO_NODE16="ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true"
export $FALLBACK_TO_NODE16
echo $FALLBACK_TO_NODE16 >> $RUNNER_ENV
}

get_labels_from_config() {
while [[ "$#" -gt 0 ]]; do
case $1 in
Expand All @@ -212,7 +204,6 @@ tar xzf ./actions-runner.tar.gz
rm -rf actions-runner.tar.gz

install_hooks
fallback_to_node16

${arm_patch}

Expand Down

0 comments on commit d242481

Please sign in to comment.