Fix BUILD_JOBS bad printing before it's even defined

This commit is contained in:
Ion Gaztañaga
2025-11-11 22:19:59 +01:00
parent f7e95c5c09
commit 2be6444b26

View File

@@ -494,8 +494,8 @@ jobs:
echo REF: $REF
BOOST_BRANCH=develop && [ "$REF" = "master" ] && BOOST_BRANCH=master || true
echo BOOST_BRANCH: $BOOST_BRANCH
echo BUILD_JOBS: $BUILD_JOBS
BUILD_JOBS=$((nproc || sysctl -n hw.ncpu) 2> /dev/null)
echo BUILD_JOBS: $BUILD_JOBS
echo "BUILD_JOBS=$BUILD_JOBS" >> $GITHUB_ENV
echo "CMAKE_BUILD_PARALLEL_LEVEL=$BUILD_JOBS" >> $GITHUB_ENV
DEPINST_ARGS=()