mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
fix output
This commit is contained in:
@@ -80,7 +80,7 @@ Function GenerateResourcesAndImage {
|
|||||||
[string] $AzureLocation,
|
[string] $AzureLocation,
|
||||||
[Parameter(Mandatory = $False)]
|
[Parameter(Mandatory = $False)]
|
||||||
[int] $SecondsToWaitForServicePrincipalSetup = 30,
|
[int] $SecondsToWaitForServicePrincipalSetup = 30,
|
||||||
[Parameter(Mandatory = $True)]
|
[Parameter(Mandatory = $False)]
|
||||||
[string] $GithubFeedToken,
|
[string] $GithubFeedToken,
|
||||||
[Parameter(Mandatory = $False)]
|
[Parameter(Mandatory = $False)]
|
||||||
[Switch] $Force
|
[Switch] $Force
|
||||||
@@ -88,7 +88,7 @@ Function GenerateResourcesAndImage {
|
|||||||
|
|
||||||
if (([string]::IsNullOrEmpty($GithubFeedToken)))
|
if (([string]::IsNullOrEmpty($GithubFeedToken)))
|
||||||
{
|
{
|
||||||
Write-Error "You have to specify valid GitHub PAT to download tool packages from GitHub Package Registry"
|
Write-Error "'-GithubFeedToken' parameter is not specified. You have to specify valid GitHub PAT to download tool packages from GitHub Package Registry"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user