🔧 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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user