Skip to content

Commit

Permalink
Update cmake-single-platform.yml
Browse files Browse the repository at this point in the history
MikailuReeves authored Dec 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 08a4ad4 commit 960f441
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
@@ -17,11 +17,19 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Cache vcpkg installed packages
uses: actions/cache@v3
with:
path: ${{ env.VCPKG_DIR }}/installed
key: ${{ runner.os }}-vcpkg-${{ hashFiles('**/CMakeLists.txt') }} # Adjust this line as needed

- name: Install vcpkg
shell: cmd
run: |
git clone https://github.com/microsoft/vcpkg.git ${{ env.VCPKG_DIR }}
${{ env.VCPKG_DIR }}\bootstrap-vcpkg.bat
if not exist "${{ env.VCPKG_DIR }}" (
git clone https://github.com/microsoft/vcpkg.git ${{ env.VCPKG_DIR }}
${{ env.VCPKG_DIR }}\bootstrap-vcpkg.bat
)
- name: Install czmq
shell: cmd

0 comments on commit 960f441

Please sign in to comment.