Skip to content

Commit c2748d2

Browse files
committed
fix vsversion in CI
1 parent 5d9168c commit c2748d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/MainCI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
fail-fast: false
8989
matrix:
9090
libraryType: [Static]
91-
version: ["2015", "2017", "2019", "2022"]
91+
version: ["[14.0,14.9)", "[15.0,15.9)", "[16.0,16.9)", "[17.0,17.9)"]
9292
os: [windows-2022]
9393

9494
runs-on: ${{ matrix.os }}
@@ -97,9 +97,9 @@ jobs:
9797
- uses: actions/checkout@v3
9898

9999
- name: Install Msvc
100-
uses: ilammy/msvc-dev-cmd@v1.12.1
100+
uses: microsoft/setup-msbuild@v1.1
101101
with:
102-
vsversion: ${{ matrix.version }}
102+
vs-version: ${{ matrix.version }}
103103

104104
- name: Install Conan Packages
105105
uses: ./.github/actions/conan-install

0 commit comments

Comments
 (0)