diff --git a/.github/workflows/build-cpp.yml b/.github/workflows/build-cpp.yml index abf665417..5de6e65dd 100644 --- a/.github/workflows/build-cpp.yml +++ b/.github/workflows/build-cpp.yml @@ -57,7 +57,7 @@ jobs: - name: Cache vcpkg if: runner.os == 'Windows' - uses: actions/cache@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: C:/vcpkg/ key: vcpkg-${{ runner.os }}-${{ matrix.settings.target }} @@ -82,6 +82,13 @@ jobs: vcpkg install nlohmann-json --binarysource="clear;x-gha,readwrite" shell: pwsh + - name: Save cache + if: runner.os == 'Windows' + uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + with: + path: C:/vcpkg/ + key: vcpkg-${{ runner.os }}-${{ matrix.settings.target }} + - name: Download schemas uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4 with: