mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00:00
[macOS] Increase base disk size by 25 GB (#10594)
This commit is contained in:
@@ -25,7 +25,7 @@ param(
|
|||||||
[bool] $EnableAutoLogon = $true,
|
[bool] $EnableAutoLogon = $true,
|
||||||
[int] $CPUCount = 6,
|
[int] $CPUCount = 6,
|
||||||
[int] $RamSizeGb = 7,
|
[int] $RamSizeGb = 7,
|
||||||
[int] $DiskSizeGb = 300,
|
[int] $DiskSizeGb = 325,
|
||||||
[string] $DisplayResolution = "1920x1080",
|
[string] $DisplayResolution = "1920x1080",
|
||||||
[string] $TagName = [DateTimeOffset]::Now.ToUnixTimeSeconds(),
|
[string] $TagName = [DateTimeOffset]::Now.ToUnixTimeSeconds(),
|
||||||
[string] $Uuid = "4203018E-580F-C1B5-9525-B745CECA79EB"
|
[string] $Uuid = "4203018E-580F-C1B5-9525-B745CECA79EB"
|
||||||
@@ -175,10 +175,10 @@ if ([string]::IsNullOrEmpty($TemplateName)) {
|
|||||||
$osArch = $(arch)
|
$osArch = $(arch)
|
||||||
if ($osArch -eq "arm64") {
|
if ($osArch -eq "arm64") {
|
||||||
$macOSInstaller = Get-MacOSIPSWInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
|
$macOSInstaller = Get-MacOSIPSWInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
|
||||||
$TemplateName = "clean_macos_${shortMacOSVersion}_${osArch}_${DiskSizeGb}gb"
|
$TemplateName = "clean_macos_${shortMacOSVersion}_${osArch}"
|
||||||
} else {
|
} else {
|
||||||
$macOSInstaller = Get-MacOSInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
|
$macOSInstaller = Get-MacOSInstaller -MacOSVersion $MacOSVersion -DownloadLatestVersion $DownloadLatestVersion -BetaSearch $BetaSearch
|
||||||
$TemplateName = "clean_macos_${shortMacOSVersion}_${DiskSizeGb}gb"
|
$TemplateName = "clean_macos_${shortMacOSVersion}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user