diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4185a43d6a..6b880958db 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -329,12 +329,8 @@ jobs: run: | curl -L "$env:VS2017_URL" -o "$HOME/vs2017.exe" actualHash=(Get-FileHash -Path "$HOME/vs2017.exe" -Algorithm SHA256).Hash - if ("$actualHash" == "$env.VS2017_SHA") { - echo "Checksums Match!" - } else { - echo "ERROR - Checksums Do Not Match" - exit 1 - } + echo "Actual = $actualHash" + echo "Expected = $env.VS2017_SHA" if: steps.vs2017.outputs.cache-hit != 'true' && matrix.version == 'jdk8u' - name: Install Visual Studio 2017 @@ -351,12 +347,8 @@ jobs: run: | curl -L "$env:VS2019_URL" -o "$HOME/vs2019.exe" actualHash=(Get-FileHash -Path "$HOME/vs2019.exe" -Algorithm SHA256).Hash - if ("$actualHash" == "$env.VS2019_SHA") { - echo "Checksums Match!" - } else { - echo "ERROR - Checksums Do Not Match" - exit 1 - } + echo "Actual = $actualHash" + echo "Expected = $env.VS2019_SHA" if: steps.vs2019.outputs.cache-hit != 'true' && (matrix.version == 'jdk11u' || matrix.version == 'jdk17u') - name: Install Visual Studio 2019