Skip to content

Commit 68cfc4d

Browse files
author
ochafik
committed
Update build.yml
1 parent b56e19a commit 68cfc4d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,21 @@ jobs:
5555
fetch-depth: 0
5656

5757
- name: Check curl version BEFORE
58-
if: matrix.setup.os == 'windows-latest'
59-
run: "C:\Program Files\Git\bin\sh.exe" -xc "curl --version"
58+
if: ${{ matrix.setup.os == 'windows-latest' }}
59+
run: |
60+
"C:\Program Files\Git\bin\sh.exe" -xc "curl --version"
6061
6162
- name: Install Choco Deps
62-
if: matrix.setup.os == 'windows-latest'
63+
if: ${{ matrix.setup.os == 'windows-latest' }}
6364
run: |
6465
choco install curl --yes
6566
echo "C:\ProgramData\chocolatey\bin" >> $GITHUB_PATH
6667
curl --version
6768
6869
- name: Check curl version AFTER
69-
if: matrix.setup.os == 'windows-latest'
70-
run: "C:\Program Files\Git\bin\sh.exe" -xc "curl --version"
70+
if: ${{ matrix.setup.os == 'windows-latest' }}
71+
run: |
72+
"C:\Program Files\Git\bin\sh.exe" -xc "curl --version"
7173
7274
- name: ccache
7375
uses: hendrikmuhs/ccache-action@v1.2.11

0 commit comments

Comments
 (0)