Skip to content

Commit

Permalink
Add cache save
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Apr 16, 2024
1 parent 1529492 commit 24e6ddb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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:
Expand Down

0 comments on commit 24e6ddb

Please sign in to comment.