Skip to content

Commit

Permalink
ci: use conan cache when building portable windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-vincent committed Jan 3, 2025
1 parent d947c16 commit 8eb9ab8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.conan2
key: ${{ runner.os }}-conan-${{ matrix.build_type }}-${{ hashFiles('conanfile.py') }}
key: ${{ runner.os }}-conan-RelWithDebInfo-${{ hashFiles('conanfile.py') }}
restore-keys: |
${{ runner.os }}-conan-${{ matrix.build_type }}-
${{ runner.os }}-conan-RelWithDebInfo-
${{ runner.os }}-conan-
${{ runner.os }}-
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/windows-portable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
with:
fetch-depth: 0

- name: Cache Conan
uses: actions/cache@v4
with:
path: ~/.conan2
key: ${{ runner.os }}-conan-RelWithDebInfo-${{ hashFiles('conanfile.py') }}
restore-keys: |
${{ runner.os }}-conan-RelWithDebInfo-
${{ runner.os }}-conan-
${{ runner.os }}-
- name: Set up MSVC
uses: ilammy/msvc-dev-cmd@v1
with:
Expand Down

0 comments on commit 8eb9ab8

Please sign in to comment.