|
@@ -50,7 +50,7 @@ jobs:
|
|
|
#In the last step we move all jmods files a dir level up because jmods are placed inside a directory in the zip
|
|
|
run: |
|
|
|
curl --output jfxjmods.zip -L "${{ env.JFX_JMODS_URL }}"
|
|
|
- if(!(Get-FileHash -Path jfxjmods.zip -Algorithm SHA256).Hash.equals("${{ env.JFX_JMODS_HASH }}")) {
|
|
|
+ if(!(Get-FileHash -Path jfxjmods.zip -Algorithm SHA256).Hash.ToLower().equals("${{ env.JFX_JMODS_HASH }}")) {
|
|
|
throw "Wrong checksum of JMOD archive downloaded from ${{ env.JFX_JMODS_URL }}.";
|
|
|
}
|
|
|
Expand-Archive -Path jfxjmods.zip -DestinationPath jfxjmods
|