workflows decreased number of cores

This commit is contained in:
silverqx
2023-10-18 18:53:01 +02:00
parent 6e1f55a83e
commit ea93736fbf
3 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ jobs:
[[ "${{ runner.name }}" == 'merydeye-'* ]] && isSelfHostedRunner='true' || isSelfHostedRunner='false'
echo "TinyIsSelfHostedRunner=$isSelfHostedRunner" >> $GITHUB_ENV
[[ "$isSelfHostedRunner" == 'true' ]] && parallel=8 || parallel=2
[[ "$isSelfHostedRunner" == 'true' ]] && parallel=4 || parallel=2
echo "TinyParallel=$parallel" >> $GITHUB_ENV
tinyormPath=$(realpath ./main)

View File

@@ -63,7 +63,7 @@ jobs:
[[ "${{ runner.name }}" == 'merydeye-'* ]] && isSelfHostedRunner='true' || isSelfHostedRunner='false'
echo "TinyIsSelfHostedRunner=$isSelfHostedRunner" >> $GITHUB_ENV
[[ "$isSelfHostedRunner" == 'true' ]] && parallel=8 || parallel=2
[[ "$isSelfHostedRunner" == 'true' ]] && parallel=4 || parallel=2
echo "TinyParallel=$parallel" >> $GITHUB_ENV
tinyormPath=$(realpath ./main)

View File

@@ -62,7 +62,7 @@ jobs:
$isSelfHostedRunner = '${{ runner.name }}'.StartsWith('merydeye-') ? $true : $false
"TinyIsSelfHostedRunner=$isSelfHostedRunner" >> $env:GITHUB_ENV
$parallel = $isSelfHostedRunner ? 8 : 2
$parallel = $isSelfHostedRunner ? 5 : 2
"TinyParallel=$parallel" >> $env:GITHUB_ENV
$tinyormPath = Resolve-Path -Path ./main