mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
false is not set
This commit is contained in:
parent
99bc707b5d
commit
10751435da
1 changed files with 3 additions and 3 deletions
|
|
@ -143,7 +143,7 @@ runs:
|
||||||
then
|
then
|
||||||
cache="${cache} -v /cache/skopeo:/cache/skopeo"
|
cache="${cache} -v /cache/skopeo:/cache/skopeo"
|
||||||
fi
|
fi
|
||||||
if [[ "${{ steps.load_dnf_cache.outputs.cache-hit}}" == "false" ]]
|
if [[ "${{ steps.load_dnf_cache.outputs.cache-hit }}" != "true" ]]
|
||||||
then
|
then
|
||||||
cache="${cache} -v /cache/dnf_new:/cache/dnf_new"
|
cache="${cache} -v /cache/dnf_new:/cache/dnf_new"
|
||||||
fi
|
fi
|
||||||
|
|
@ -166,7 +166,7 @@ runs:
|
||||||
- name: Save dnf cache
|
- name: Save dnf cache
|
||||||
env:
|
env:
|
||||||
dnf_cache_key: dnf-${{ inputs.version }}
|
dnf_cache_key: dnf-${{ inputs.version }}
|
||||||
if: inputs.enable_cache_dnf == 'true'
|
if: inputs.enable_cache_dnf == 'true' && steps.load_dnf_cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: /cache/dnf_new
|
path: /cache/dnf_new
|
||||||
|
|
@ -175,7 +175,7 @@ runs:
|
||||||
- name: Save skopeo cache
|
- name: Save skopeo cache
|
||||||
env:
|
env:
|
||||||
skopeo_cache_key: skopeo-${{ inputs.image_name }}-${{ inputs.version || inputs.image_tag }}
|
skopeo_cache_key: skopeo-${{ inputs.image_name }}-${{ inputs.version || inputs.image_tag }}
|
||||||
if: inputs.enable_cache_skopeo == 'true'
|
if: inputs.enable_cache_skopeo == 'true' && steps.load_dnf_cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: /cache/skopeo
|
path: /cache/skopeo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue