[MacOS] Pin sha256 for xcode (#9007)

* pin sha256 for xcode

* add sha256 for xcode 15.1
This commit is contained in:
sergei-pyshnoi
2023-12-15 16:44:17 +01:00
committed by GitHub
parent 1cb43238b5
commit 7fe17c7614
6 changed files with 40 additions and 30 deletions

View File

@@ -21,7 +21,7 @@ $xcodeVersions | ForEach-Object -ThrottleLimit $threadCount -Parallel {
Import-Module "$env:HOME/image-generation/helpers/Common.Helpers.psm1"
Import-Module "$env:HOME/image-generation/helpers/Xcode.Installer.psm1" -DisableNameChecking
Install-XcodeVersion -Version $_.version -LinkTo $_.link
Install-XcodeVersion -Version $_.version -LinkTo $_.link -Sha256Sum $_.sha256
Confirm-XcodeIntegrity -Version $_.link
}