Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,16 @@ jobs:
else
echo "path=${{ matrix.local_install_path }}" >> $GITHUB_OUTPUT
fi
- name: Cache local install path
uses: eyal0/cache@main
- name: Restore cache
uses: actions/cache/restore@v5
with:
path: ${{ steps.sanitize-key.outputs.path }}
key: ${{ steps.sanitize-key.outputs.key }}-${{ github.run_id }}-${{ github.run_attempt }}
restore-keys: |
${{ steps.sanitize-key.outputs.key }}-
update-env-variable: "UPDATE_CACHE"
- name: Default don't update cache
run: echo "UPDATE_CACHE=false" >> $GITHUB_ENV
- name: Build and install boost # TODO: Change the prefix back to ${LOCAL_INSTALL_PATH}
- name: Build and install boost
if: matrix.os == 'ubuntu' && matrix.boost != 'latest'
env:
BOOST: ${{ matrix.boost }}_0
Expand Down Expand Up @@ -481,6 +480,12 @@ jobs:
with:
name: version
path: version.txt
- name: Save cache
uses: actions/cache/save@v5
if: env.UPDATE_CACHE == 'true'
with:
path: ${{ steps.sanitize-key.outputs.path }}
key: ${{ steps.sanitize-key.outputs.key }}-${{ github.run_id }}-${{ github.run_attempt }}

finalize-coverage:
needs: [build-and-test]
Expand Down