From 10751435da4e389d620795cefa2abdb3a5223681 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:12:25 -0400 Subject: [PATCH] false is not set --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index b93f53f..bc6c0bf 100644 --- a/action.yml +++ b/action.yml @@ -143,7 +143,7 @@ runs: then cache="${cache} -v /cache/skopeo:/cache/skopeo" fi - if [[ "${{ steps.load_dnf_cache.outputs.cache-hit}}" == "false" ]] + if [[ "${{ steps.load_dnf_cache.outputs.cache-hit }}" != "true" ]] then cache="${cache} -v /cache/dnf_new:/cache/dnf_new" fi @@ -166,7 +166,7 @@ runs: - name: Save dnf cache env: 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 with: path: /cache/dnf_new @@ -175,7 +175,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' + if: inputs.enable_cache_skopeo == 'true' && steps.load_dnf_cache.outputs.cache-hit != 'true' uses: actions/cache/save@v4 with: path: /cache/skopeo