Corrected skip steps for cache to avoid redundant saves

This commit is contained in:
2025-10-22 21:23:59 -04:00
parent 84fe7fda09
commit ce2cff6167

View File

@@ -99,7 +99,7 @@ jobs:
key: "${{ env.DIGEST }}-atomic-base-image"
- name: Pull atomic base image
if: steps.cache.outputs.cache-hit != 'true'
if: steps.cache-base-atomic-restore.outputs.cache-hit != 'true'
env:
FULL_BASE_IMAGE: "docker://${{ env.BASE_IMAGE }}:${{ env.FEDORA_VERSION }}"
continue-on-error: true
@@ -109,7 +109,7 @@ jobs:
- name: Save base-atomic container cache
id: cache-base-atomic-save
if: steps.cache.outputs.cache-hit != 'true' && github.event_name == 'pull_request'
if: steps.cache-base-atomic-restore.outputs.cache-hit != 'true' && github.event_name == 'pull_request'
uses: actions/cache/save@v4
with:
path: |