diff --git a/.appveyor.yml b/.appveyor.yml index 473253d..f58381b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -22,7 +22,7 @@ environment: CXX_STANDARD: 17 install: - - install-icu.bat C:\LIB 74 1 + - install-icu.bat C:\LIB 74 2 before_build: - init.bat diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 89f0b24..eb06124 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: install ICU library - run: install-icu.bat C:\LIB 74 1 + run: install-icu.bat C:\LIB 74 2 shell: cmd - name: get dependencies run: init.bat diff --git a/install-icu.bat b/install-icu.bat index b1b7c05..df510c0 100644 --- a/install-icu.bat +++ b/install-icu.bat @@ -16,7 +16,7 @@ if %VER_MAJOR% lss 59 ( set MSVC=MSVC2015 if %VER_MAJOR% geq 61 (set MSVC=MSVC2017) if %VER_MAJOR% geq 68 (set MSVC=MSVC2019) -if %VER_MAJOR% geq 74 (set MSVC=MSVC2022) +if %VER_MAJOR% equ 74 if %VER_MINOR% equ 1 (set MSVC=MSVC2022) mkdir %BASE_DIR% curl -fsSL -o %BASE_DIR%\icu4c-bin.zip https://github.com/unicode-org/icu/releases/download/release-%VER_MAJOR%-%VER_MINOR%/icu4c-%VER_MAJOR%_%VER_MINOR%-Win64-%MSVC%.zip