Skip to content

Commit

Permalink
Fix shacheck
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Apr 30, 2024
1 parent 1669d34 commit 2bf6b44
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,12 +329,12 @@ jobs:
run: |
curl -L "$env:VS2017_URL" -o "$HOME/vs2017.exe"
if ((CertUtil -hashfile "$HOME/vs2017.exe" SHA256) -eq "$env:VS2017_SHA") {
echo "SHA256 hash matched"
echo "SHA256 hash matched"
} else {
echo "SHA256 hash does not match"
exit 1
echo "SHA256 hash does not match"
exit 1
}
if: steps.vs2017.outputs.cache-hit != 'true' && matrix.version == 'jdk8u'
if: steps.vs2017.outputs.cache-hit != 'true' && matrix.version == 'jdk8u'

- name: Install Visual Studio 2017
if: matrix.version == 'jdk8u'
Expand All @@ -346,16 +346,16 @@ jobs:
--add Microsoft.VisualStudio.Component.Windows10SDK.17763
--quiet --wait'
- name: Download Visual Studio 2019
run: |
curl -L "$env:VS2019_URL" -o "$HOME/vs2019.exe"
if ((CertUtil -hashfile "$HOME/vs2019.exe" SHA256) -eq "$env:VS2019_SHA") {
echo "SHA256 hash matched"
} else {
echo "SHA256 hash does not match"
exit 1
- name: Download Visual Studio 2019
run: |
curl -L "$env:VS2019_URL" -o "$HOME/vs2019.exe"
if ((CertUtil -hashfile "$HOME/vs2019.exe" SHA256) -eq "$env:VS2019_SHA") {
echo "SHA256 hash matched"
} else {
echo "SHA256 hash does not match"
exit 1
}
if: steps.vs2019.outputs.cache-hit != 'true' && (matrix.version == 'jdk11u' || matrix.version == 'jdk17u')
if: steps.vs2019.outputs.cache-hit != 'true' && (matrix.version == 'jdk11u' || matrix.version == 'jdk17u')

- name: Install Visual Studio 2019
if: matrix.version == 'jdk11u' || matrix.version == 'jdk17u'
Expand Down

0 comments on commit 2bf6b44

Please sign in to comment.