Skip to content

Commit

Permalink
Cache vcpkg packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielskeenan committed Sep 2, 2024
1 parent 47a1a5f commit 6ad72c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ env:
BUILD_TYPE: Release
SOURCE_DIR: ${{github.workspace}}
BUILD_DIR: ${{github.workspace}}/build
CONAN_USER_HOME: ${{ github.workspace }}/.conan/
# The short paths feature breaks caching.
CONAN_USER_HOME_SHORT: None
QT_VERSION: 6.6.*
# Increment when the cache must be invalidated.
CACHE_IX: 0
Expand All @@ -26,6 +23,9 @@ jobs:
- windows-2022
- ubuntu-24.04
runs-on: ${{matrix.os}}
env:
# See https://learn.microsoft.com/en-us/vcpkg/consume/binary-caching-github-actions-cache
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
steps:
- name: Get number of CPU cores
uses: SimenB/github-actions-cpu-cores@v2
Expand Down

0 comments on commit 6ad72c8

Please sign in to comment.