From 99adf6af4d0fda01003052d95a7f69cc1132c20a Mon Sep 17 00:00:00 2001 From: Oliver Cheng Date: Thu, 11 Jul 2024 16:09:31 +1000 Subject: [PATCH] Force nodejs16 usage See https://github.com/actions/runner/issues/2906 --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index afc98f8..beb6bdb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,13 +13,12 @@ jobs: label: macos-arm64 - os: macos-latest label: macos-x64 + env: + ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true runs-on: ${{ matrix.os }} container: ${{ matrix.container }} steps: - - name: Install nodejs v20 - if: ${{ matrix.label == 'centos-7' }} - run: yum install nodejs20 - - name: Checkout code uses: actions/checkout@v3