Skip to content

Commit

Permalink
ci: fix use of ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
timblechmann committed Dec 1, 2023
1 parent e24fbc0 commit fa9f369
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,14 @@ jobs:
sudo /usr/local/bin/pip install cmake
- uses: actions/checkout@v3

- name: Cache ccache
uses: actions/cache@v2
if: env.B2_USE_CCACHE
with:
path: ~/.ccache
key: ${{matrix.os}}-${{matrix.container}}-${{matrix.compiler}}-${{github.sha}}
restore-keys: ${{matrix.os}}-${{matrix.container}}-${{matrix.compiler}}-

- name: Install packages
if: matrix.install
run: |
Expand Down

0 comments on commit fa9f369

Please sign in to comment.