mention when sha256 check fails and why

This commit is contained in:
Robert Stoll
2020-05-08 23:11:21 +02:00
parent df3325e04d
commit d0d01b9596

View File

@@ -25,6 +25,8 @@ jobs:
curl -o android.jar -L "https://github.com/Sable/android-platforms/blob/master/android-26/android.jar?raw=true"
$file_sha256 = $(certutil -hashfile android.jar sha256)[1] -replace " ",""
if ($file_sha256 -Ne "cdc1846376a14b0370cc63454a129606b4a52cc50ada75ef0d4cf956b1ad2daa") {
echo "wrong sha256 for android.jar: $file_sha256";
echo " expected: $expected_sha256";
exit -1
}