mirror of
https://github.com/actions/runner-images.git
synced 2025-12-10 11:07:02 +00:00
[windows] Remove Msys2 checksum verification (#12884)
This commit is contained in:
committed by
GitHub
parent
2673a3067e
commit
25f533f3b2
@@ -22,13 +22,6 @@ function Install-Msys2 {
|
||||
Write-Host "Download msys2 installer $installerName"
|
||||
$installerPath = Invoke-DownloadWithRetry $downloadUri
|
||||
|
||||
#region Supply chain security - MSYS2
|
||||
$externalHash = Get-ChecksumFromUrl -Type "SHA256" `
|
||||
-Url ($downloadUri -replace $installerName, "msys2-checksums.txt") `
|
||||
-FileName $installerName
|
||||
Test-FileChecksum $installerPath -ExpectedSHA256Sum $externalHash
|
||||
#endregion
|
||||
|
||||
Write-Host "Starting msys2 installation"
|
||||
& $installerPath in --confirm-command --accept-messages --root C:/msys64
|
||||
if ($LastExitCode -ne 0) {
|
||||
|
||||
Reference in New Issue
Block a user