mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[windows] Replace WebClient with Invoke-WebRequest & Update EdgeDrive Thumbprint (#12390)
* [windows] Update EdgeDriver signature * feat: Improve temp directory handling and update file download method - Added check for \ existence before accessing it. - If the directory does not exist, it is now created. - Replaced System.Net.WebClient with Invoke-WebRequest for file downloads, improving compatibility and maintainability. Co-authored-by: Subir0071 <subir0071@github.com> * [Windows] Remove check for TEMP_Dir --------- Co-authored-by: Subir0071 <subir0071@github.com>
This commit is contained in:
committed by
GitHub
parent
a0e2400abd
commit
42e65904de
@@ -29,7 +29,8 @@ Expand-7ZipArchive -Path $archivePath -DestinationPath $edgeDriverPath
|
||||
#Validate the EdgeDriver signature
|
||||
$signatureThumbprint = @(
|
||||
"7920AC8FB05E0FFFE21E8FF4B4F03093BA6AC16E",
|
||||
"0BD8C56733FDCC06F8CB919FF5A200E39B1ACF71"
|
||||
"0BD8C56733FDCC06F8CB919FF5A200E39B1ACF71",
|
||||
"F6EECCC7FF116889C2D5466AE7243D7AA7698689"
|
||||
)
|
||||
Test-FileSignature -Path "$edgeDriverPath\msedgedriver.exe" -ExpectedThumbprint $signatureThumbprint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user