mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-15 14:26:48 +00:00
added logs verbosity (#3964)
This commit is contained in:
@@ -3,9 +3,10 @@ $ErrorActionPreference = 'Stop'
|
|||||||
enum ImageType {
|
enum ImageType {
|
||||||
Windows2016 = 0
|
Windows2016 = 0
|
||||||
Windows2019 = 1
|
Windows2019 = 1
|
||||||
Ubuntu1604 = 2
|
Windows2022 = 2
|
||||||
Ubuntu1804 = 3
|
Ubuntu1604 = 3
|
||||||
Ubuntu2004 = 4
|
Ubuntu1804 = 4
|
||||||
|
Ubuntu2004 = 5
|
||||||
}
|
}
|
||||||
|
|
||||||
Function Get-PackerTemplatePath {
|
Function Get-PackerTemplatePath {
|
||||||
@@ -23,6 +24,9 @@ Function Get-PackerTemplatePath {
|
|||||||
([ImageType]::Windows2019) {
|
([ImageType]::Windows2019) {
|
||||||
$relativeTemplatePath = Join-Path "win" "windows2019.json"
|
$relativeTemplatePath = Join-Path "win" "windows2019.json"
|
||||||
}
|
}
|
||||||
|
([ImageType]::Windows2022) {
|
||||||
|
$relativeTemplatePath = Join-Path "win" "windows2022.json"
|
||||||
|
}
|
||||||
([ImageType]::Ubuntu1604) {
|
([ImageType]::Ubuntu1604) {
|
||||||
$relativeTemplatePath = Join-Path "linux" "ubuntu1604.json"
|
$relativeTemplatePath = Join-Path "linux" "ubuntu1604.json"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user