Skip to content

Commit

Permalink
build(ci): add caching for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonhard Breuer committed Aug 6, 2024
1 parent 20d934b commit 2997b29
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
sudo apt-get update
sudo apt-get install -y g++-12
- name: Cache Windows dependencies
if: runner.os == 'Windows'
uses: actions/cache@v3
with:
path: |
C:\ProgramData\chocolatey\lib\cmake
C:\ProgramData\chocolatey\lib\visualstudio2019buildtools
C:\ProgramData\chocolatey\lib\visualstudio2019-workload-vctools
key: ${{ runner.os }}-deps-${{ hashFiles('**/CMakeLists.txt') }}

- name: Install dependencies on Windows
if: runner.os == 'Windows'
run: |
Expand Down

0 comments on commit 2997b29

Please sign in to comment.