diff --git a/build/DirectXMath-GitHub-WSL-11.yml b/build/DirectXMath-GitHub-WSL-11.yml index 82e8e58..a9a8a0e 100644 --- a/build/DirectXMath-GitHub-WSL-11.yml +++ b/build/DirectXMath-GitHub-WSL-11.yml @@ -51,7 +51,7 @@ jobs: targetType: inline script: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(Build.SourcesDirectory)/Inc/sal.h + Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(Build.SourcesDirectory)/Inc/sal.h $fileHash = Get-FileHash -Algorithm SHA512 $(Build.SourcesDirectory)/Inc/sal.h | ForEach { $_.Hash} | Out-String $filehash = $fileHash.Trim() Write-Host "##[debug]SHA512: " $filehash diff --git a/build/DirectXMath-GitHub-WSL.yml b/build/DirectXMath-GitHub-WSL.yml index dba5d62..3ff68ef 100644 --- a/build/DirectXMath-GitHub-WSL.yml +++ b/build/DirectXMath-GitHub-WSL.yml @@ -70,7 +70,7 @@ jobs: targetType: inline script: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -o $(Build.SourcesDirectory)/Inc/sal.h + Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/corert/master/src/Native/inc/unix/sal.h -OutFile $(Build.SourcesDirectory)/Inc/sal.h $fileHash = Get-FileHash -Algorithm SHA512 $(Build.SourcesDirectory)/Inc/sal.h | ForEach { $_.Hash} | Out-String $filehash = $fileHash.Trim() Write-Host "##[debug]SHA512: " $filehash