diff --git a/.github/workflows/native-build.yml b/.github/workflows/native-build.yml index 89d93605c..849f4ab5f 100644 --- a/.github/workflows/native-build.yml +++ b/.github/workflows/native-build.yml @@ -131,6 +131,13 @@ jobs: container: image: ${{ matrix.run.container || '' }} steps: + - name: "Fix environment" + run: | + # https://github.com/actions/checkout/issues/1809 + # https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/ + echo "ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION=node16" >> $GITHUB_ENV + echo "ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION=node16" >> $GITHUB_ENV + echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV - name: "Checkout repository" uses: actions/checkout@v3 with: