🔧 fix: restore proper cache condition in CI/CD workflow

Restored the correct cache condition that was accidentally removed:
- Only save cache when docs are generated (cache miss)
- Matches the improved main branch version
- Ensures consistent behavior across branches

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-04-09 00:36:54 +02:00
parent 1eb41044c4
commit 725630fcc2

View File

@@ -175,6 +175,7 @@ jobs:
run: go generate ./pkg/server run: go generate ./pkg/server
- name: Save Swagger Docs Cache - name: Save Swagger Docs Cache
if: steps.cache-swagger-restore.outputs.cache-hit != 'true'
id: cache-swagger-save id: cache-swagger-save
uses: actions/cache/save@v5 uses: actions/cache/save@v5
with: with: