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 May 3, 2024
1 parent fdbccb9 commit e768411
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 @@ -174,6 +174,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 e768411

Please sign in to comment.