workflows made self-hosted test case-insensitive

This commit is contained in:
silverqx
2023-12-22 18:11:06 +01:00
parent 9597b86962
commit 4e305eb2ed
+1 -1
View File
@@ -59,7 +59,7 @@ jobs:
"TinyRunnerWorkPath=$runnerWorkPath" >> $env:GITHUB_ENV
# Starts with the merydeye-
$isSelfHostedRunner = '${{ runner.name }}'.StartsWith('merydeye-') ? $true : $false
$isSelfHostedRunner = '${{ runner.name }}'.StartsWith('merydeye-', $true, $null)
"TinyIsSelfHostedRunner=$isSelfHostedRunner" >> $env:GITHUB_ENV
$parallel = $isSelfHostedRunner ? 5 : 2