diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 644a24792..7ed73d59a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -98,7 +98,7 @@ jobs: uses: actions/cache@v3.0.11 with: path: C:/zlib - key: ${{ runner.os }}${{ matrix.config.WIN_ARCH }}-zlib-1.2.13 + key: ${{ runner.os }}${{ matrix.config.WIN_ARCH }}-zlib-1.3 - name: Cache Chocolatey id: cache-choco @@ -141,7 +141,7 @@ jobs: - name: Build Zlib For Windows if: (runner.os == 'Windows') && (steps.cache-zlib.outputs.cache-hit != 'true') run: | - git clone -q --branch=v1.2.13 https://github.com/madler/zlib ${{github.workspace}}\zlib-git + git clone -q --branch=v1.3 https://github.com/madler/zlib ${{github.workspace}}\zlib-git cmake -S${{github.workspace}}\zlib-git -B${{github.workspace}}\zlib-git\build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=C:/zlib cmake --build ${{github.workspace}}\zlib-git\build --config Release cmake --install ${{github.workspace}}\zlib-git\build --strip