CI: Use Blacksmith's drop-in replacement for actions/cache

Their caches have better locality with their own runners and offer
higher potential throughput speeds (up to 400 MB/s).
This commit is contained in:
Jelle Raaijmakers 2025-05-27 10:32:22 +02:00 committed by Jelle Raaijmakers
commit 922bf2033f
Notes: github-actions[bot] 2025-05-27 10:11:59 +00:00
2 changed files with 4 additions and 4 deletions

View file

@ -54,7 +54,7 @@ runs:
echo "timestamp=$(date -u "+%Y%m%d%H%M_%S")" >> "$GITHUB_OUTPUT"
- name: 'Compiler Cache'
uses: actions/cache/restore@v4
uses: useblacksmith/cache/restore@v5
id: 'ccache'
if: ${{ inputs.ccache_path != '' }}
with:
@ -76,7 +76,7 @@ runs:
CCACHE_DIR=${{ inputs.ccache_path }} ccache -z
- name: 'Restore vcpkg cache'
uses: actions/cache/restore@v4
uses: useblacksmith/cache/restore@v5
if: ${{ inputs.vcpkg_cache_path != '' }}
id: 'vcpkg'
with:

View file

@ -34,7 +34,7 @@ runs:
CCACHE_DIR=${{ inputs.ccache_path }} ccache --evict-older-than=1d
- name: 'Compiler Cache'
uses: actions/cache/save@v4
uses: useblacksmith/cache/save@v5
if: ${{ inputs.ccache_path != '' }}
with:
path: ${{ inputs.ccache_path }}
@ -47,7 +47,7 @@ runs:
CCACHE_DIR=${{ inputs.ccache_path }} ccache -s
- name: 'vcpkg binary cache'
uses: actions/cache/save@v4
uses: useblacksmith/cache/save@v5
if: ${{ inputs.vcpkg_cache_path != '' }}
with:
path: ${{ inputs.vcpkg_cache_path }}