Update ADO Pipeline YAML (#141)

This commit is contained in:
Chuck Walbourn 2024-02-01 22:51:14 -08:00 committed by GitHub
parent 83c9769237
commit 4e529da621
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ jobs:
targetType: inline targetType: inline
script: | script: |
$ProgressPreference = 'SilentlyContinue' $ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(DEST_DIR)usr/local/include/sal.h Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(DEST_DIR)usr/local/include/sal.h
$fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String $fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
$filehash = $fileHash.Trim() $filehash = $fileHash.Trim()
Write-Host "##[debug]SHA512: " $filehash Write-Host "##[debug]SHA512: " $filehash

View File

@ -102,7 +102,7 @@ jobs:
targetType: inline targetType: inline
script: | script: |
$ProgressPreference = 'SilentlyContinue' $ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(DEST_DIR)usr/local/include/sal.h Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(DEST_DIR)usr/local/include/sal.h
$fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String $fileHash = Get-FileHash -Algorithm SHA512 $(DEST_DIR)usr/local/include/sal.h | ForEach { $_.Hash} | Out-String
$filehash = $fileHash.Trim() $filehash = $fileHash.Trim()
Write-Host "##[debug]SHA512: " $filehash Write-Host "##[debug]SHA512: " $filehash