mirror of
https://github.com/jlengrand/atrium.git
synced 2026-03-10 08:01:19 +00:00
mention when sha256 check fails and why
This commit is contained in:
2
.github/workflows/java-windows.yml
vendored
2
.github/workflows/java-windows.yml
vendored
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user