🔧 fix: add missing cache condition to CI/CD workflow

Added proper cache condition to Save Swagger Docs Cache step:
- Only save cache when docs are generated (cache miss)
- Prevents unnecessary cache writes on cache hits
- Improves CI/CD performance

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-04-09 00:36:41 +02:00
parent d3b74c31b7
commit c1cf3c7ec5

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: