mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
CI: Restore cache action checks on inputs.ccache_path
These got removed by accident.
This commit is contained in:
parent
573696b10f
commit
86c8dbbf90
2
.github/actions/cache-restore/action.yml
vendored
2
.github/actions/cache-restore/action.yml
vendored
|
|
@ -59,6 +59,7 @@ runs:
|
|||
- name: 'Compiler Cache'
|
||||
uses: actions/cache/restore@v4
|
||||
id: 'ccache'
|
||||
if: ${{ inputs.ccache_path != '' }}
|
||||
with:
|
||||
path: ${{ inputs.ccache_path }}
|
||||
key: '"ccache" | "${{ inputs.os }}" | "${{ inputs.arch }}" | "${{ inputs.toolchain }}" | "${{ inputs.cache_key_extra }}" | "${{ inputs.ccache_version }}" | ${{ steps.date-stamp.outputs.timestamp }}'
|
||||
|
|
@ -79,6 +80,7 @@ runs:
|
|||
|
||||
- name: 'Restore vcpkg cache'
|
||||
uses: actions/cache/restore@v4
|
||||
if: ${{ inputs.vcpkg_cache_path != '' }}
|
||||
id: 'vcpkg'
|
||||
with:
|
||||
path: ${{ inputs.vcpkg_cache_path }}
|
||||
|
|
|
|||
2
.github/actions/cache-save/action.yml
vendored
2
.github/actions/cache-save/action.yml
vendored
|
|
@ -38,6 +38,7 @@ runs:
|
|||
|
||||
- name: 'Compiler Cache'
|
||||
uses: actions/cache/save@v4
|
||||
if: ${{ inputs.ccache_path != '' }}
|
||||
with:
|
||||
path: ${{ inputs.ccache_path }}
|
||||
key: ${{ inputs.ccache_primary_key }}
|
||||
|
|
@ -50,6 +51,7 @@ runs:
|
|||
|
||||
- name: 'vcpkg binary cache'
|
||||
uses: actions/cache/save@v4
|
||||
if: ${{ inputs.vcpkg_cache_path != '' }}
|
||||
with:
|
||||
path: ${{ inputs.vcpkg_cache_path }}
|
||||
key: ${{ inputs.vcpkg_cache_primary_key }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user