diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6cec788d..46fd45d85 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -465,7 +465,7 @@ jobs: $needle = "SignTool Error: An unexpected internal error has occurred" for ($attempt = 1; $attempt -le $maxAttempts; $attempt++) { - Write-Host "Attempt $attempt/$maxAttempts: $exe $($args -join ' ')" + Write-Host "Attempt $attempt/${maxAttempts}: $exe $($args -join ' ')" $output = & $exe @args 2>&1 | Out-String $exitCode = $LASTEXITCODE @@ -570,7 +570,7 @@ jobs: $needle = "SignTool Error: An unexpected internal error has occurred" for ($attempt = 1; $attempt -le $maxAttempts; $attempt++) { - Write-Host "Attempt $attempt/$maxAttempts: $exe $($args -join ' ')" + Write-Host "Attempt $attempt/${maxAttempts}: $exe $($args -join ' ')" $output = & $exe @args 2>&1 | Out-String $exitCode = $LASTEXITCODE