瀏覽代碼

fix windows installer ci script

Armin Schrenk 1 年之前
父節點
當前提交
6edfaf3eb6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/win-exe.yml

+ 1 - 1
.github/workflows/win-exe.yml

@@ -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