Skip to content

Commit

Permalink
Fix lscpu regex for ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk authored Jan 17, 2025
1 parent 4c52f71 commit 0e901a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0e901a6

Please sign in to comment.