CI: Remove quotes from cache keys
These get tricky with nested quotes when adding a hashFiles invocation. Let's remove quotes from all keys to keep them consistent.
This commit is contained in:
parent
a2fc4c1e10
commit
9524d92a9f
1 changed files with 4 additions and 4 deletions
8
.github/actions/cache-restore/action.yml
vendored
8
.github/actions/cache-restore/action.yml
vendored
|
|
@ -44,9 +44,9 @@ runs:
|
|||
id: 'ccache'
|
||||
with:
|
||||
path: ${{ inputs.ccache_path }}
|
||||
key: '"ccache" | "${{ inputs.os }}" | "${{ inputs.arch }}" | "${{ inputs.toolchain }}" | "${{ inputs.cache_key_extra }}" | ${{ steps.date-stamp.outputs.timestamp }}'
|
||||
key: ccache | ${{ inputs.os }} | ${{ inputs.arch }} | ${{ inputs.toolchain }} | ${{ inputs.cache_key_extra }} | ${{ steps.date-stamp.outputs.timestamp }}
|
||||
restore-keys: |
|
||||
"ccache" | "${{ inputs.os }}" | "${{ inputs.arch }}" | "${{ inputs.toolchain }}" | "${{ inputs.cache_key_extra }}"
|
||||
ccache | ${{ inputs.os }} | ${{ inputs.arch }} | ${{ inputs.toolchain }} | ${{ inputs.cache_key_extra }}
|
||||
|
||||
- name: 'Configure Compiler Cache'
|
||||
if: ${{ inputs.os != 'Windows' }}
|
||||
|
|
@ -84,6 +84,6 @@ runs:
|
|||
id: 'vcpkg'
|
||||
with:
|
||||
path: ${{ inputs.vcpkg_cache_path }}
|
||||
key: '"vcpkg" | "${{ inputs.os }}" | "${{ inputs.arch }}" | "${{ inputs.toolchain }}" | "${{ inputs.cache_key_extra }}" | ${{ steps.date-stamp.outputs.timestamp }}'
|
||||
key: vcpkg | ${{ inputs.os }} | ${{ inputs.arch }} | ${{ inputs.toolchain }} | ${{ inputs.cache_key_extra }} | ${{ steps.date-stamp.outputs.timestamp }}
|
||||
restore-keys: |
|
||||
"vcpkg" | "${{ inputs.os }}" | "${{ inputs.arch }}" | "${{ inputs.toolchain }}" | "${{ inputs.cache_key_extra }}"
|
||||
vcpkg | ${{ inputs.os }} | ${{ inputs.arch }} | ${{ inputs.toolchain }} | ${{ inputs.cache_key_extra }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue