mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 19:16:48 +00:00
minor changes
This commit is contained in:
@@ -86,10 +86,10 @@ Function GenerateResourcesAndImage {
|
||||
[Switch] $Force
|
||||
)
|
||||
|
||||
if (([string]::IsNullOrEmpty($version)))
|
||||
if (([string]::IsNullOrEmpty($GithubFeedToken)))
|
||||
{
|
||||
Write-Error "You have to specify valid GitHub PAT to dowload tool packages from GitHub Package Registry"
|
||||
exit 0
|
||||
Write-Error "You have to specify valid GitHub PAT to download tool packages from GitHub Package Registry"
|
||||
exit 1
|
||||
}
|
||||
|
||||
$builderScriptPath = Get-PackerTemplatePath -RepositoryRoot $ImageGenerationRepositoryRoot -ImageType $ImageType
|
||||
|
||||
Reference in New Issue
Block a user