From 725630fcc277e9a98b35269203c7ec7d7a78f735 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Thu, 9 Apr 2026 00:36:54 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix:=20restore=20proper=20cache?= =?UTF-8?q?=20condition=20in=20CI/CD=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .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: