From 0e901a62545402bc128eada8fa1d8ad64a00a567 Mon Sep 17 00:00:00 2001 From: tmpolaczyk <44604217+tmpolaczyk@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:05:12 +0100 Subject: [PATCH] Fix lscpu regex for ubuntu 24.04 --- .github/workflow-templates/typescript-tests-moonwall/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow-templates/typescript-tests-moonwall/action.yml b/.github/workflow-templates/typescript-tests-moonwall/action.yml index dbc359bb8..976319b73 100644 --- a/.github/workflow-templates/typescript-tests-moonwall/action.yml +++ b/.github/workflow-templates/typescript-tests-moonwall/action.yml @@ -22,7 +22,7 @@ runs: shell: bash run: | #### Set the number of CPUs to use for parallel tests. - echo "CPUS=$(lscpu | egrep '^CPU\(s\)' | grep -o '[0-9]*')" >> $GITHUB_ENV + echo "CPUS=$(lscpu | egrep '^CPU\(s\):' | grep -o '[0-9]*')" >> $GITHUB_ENV echo "CPUS: $CPUS"