1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

ignore cache-hit

This commit is contained in:
Jason N. 2024-03-11 10:30:25 -04:00
parent dc34e7f4b3
commit 7bb619735c

View file

@ -149,7 +149,7 @@ runs:
- name: Save dnf cache
env:
dnf_cache_key: dnf-${{ inputs.version }}
if: inputs.enable_cache_dnf == 'true' && steps.load_dnf_cache.outputs.cache-hit == 'false'
if: inputs.enable_cache_dnf == 'true'
uses: actions/cache/save@v4
with:
path: /cache/dnf_new
@ -158,7 +158,7 @@ runs:
- name: Save skopeo cache
env:
skopeo_cache_key: skopeo-${{ inputs.image_name }}-${{ inputs.version || inputs.image_tag }}
if: inputs.enable_cache_skopeo == 'true' && steps.load_skopeo_cache.outputs.cache-hit == 'false'
if: inputs.enable_cache_skopeo == 'true'
uses: actions/cache/save@v4
with:
path: /cache/skopeo