From c1cf3c7ec511f20fc25ee42c26df0fe73f85941a Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Thu, 9 Apr 2026 00:36:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20add=20missing=20cache=20c?= =?UTF-8?q?ondition=20to=20CI/CD=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .gitea/workflows/ci-cd.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index fb3bddc..d3572de 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -175,6 +175,7 @@ jobs: run: go generate ./pkg/server - name: Save Swagger Docs Cache + if: steps.cache-swagger-restore.outputs.cache-hit != 'true' id: cache-swagger-save uses: actions/cache/save@v5 with: