mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 14:02:20 +00:00
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:
parent
090a7a90c3
commit
922bf2033f
Notes:
github-actions[bot]
2025-05-27 10:11:59 +00:00
Author: https://github.com/gmta
Commit: 922bf2033f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4892
2 changed files with 4 additions and 4 deletions
4
.github/actions/cache-restore/action.yml
vendored
4
.github/actions/cache-restore/action.yml
vendored
|
@ -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:
|
||||
|
|
4
.github/actions/cache-save/action.yml
vendored
4
.github/actions/cache-save/action.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue