Skip to content

Commit e7471a6

Browse files
committed
Fix CI vcpkg setup
1 parent c268554 commit e7471a6

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,18 @@ jobs:
4444
cd ${{ github.workspace }}/vcpkg
4545
git checkout master
4646
47-
- name: Bootstrap vcpkg
47+
- name: Bootstrap vcpkg (Windows)
48+
if: runner.os == 'Windows'
4849
run: |
49-
if [ "$RUNNER_OS" == "Windows" ]; then
50-
${{ github.workspace }}/vcpkg/bootstrap-vcpkg.bat
51-
else
52-
${{ github.workspace }}/vcpkg/bootstrap-vcpkg.sh
53-
fi
54-
shell: bash
50+
cd ${{ github.workspace }}/vcpkg
51+
.\bootstrap-vcpkg.bat
52+
shell: pwsh
53+
54+
- name: Bootstrap vcpkg (Linux/macOS)
55+
if: runner.os != 'Windows'
56+
run: |
57+
cd ${{ github.workspace }}/vcpkg
58+
./bootstrap-vcpkg.sh
5559
5660
- name: Install vcpkg dependencies
5761
run: |

0 commit comments

Comments
 (0)