diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 14b56d8..bf6665c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,9 +45,10 @@ jobs: uses: actions/cache@v4 with: path: target/vcpkg - key: ${{ runner.os }}-vcpkg-${{ hashFiles('Cargo.toml', 'Cargo.lock') }} + key: vcpkg-${{ runner.os }}-${{ matrix.target }}-${{ hashFiles('Cargo.toml', 'Cargo.lock') }} restore-keys: | - ${{ runner.os }}-vcpkg- + ${{ runner.os }}-vcpkg + vcpkg-${{ runner.os }}-${{ matrix.target }}- - name: Vcpkg Linux Dependencies if: runner.os == 'Linux'