From 069b7d417f2fb0532b4f774fce172e0d426bf07c Mon Sep 17 00:00:00 2001 From: millianlmx Date: Sat, 27 Jun 2026 20:35:47 +0000 Subject: [PATCH] =?UTF-8?q?fix(ci):=20keep=20SPM=20cache=20=E2=80=94=20rem?= =?UTF-8?q?ove=20aggressive=20clean=20that=20forces=20RevenueCat=20re-clon?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/pr-iphone-deploy.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/pr-iphone-deploy.yml b/.gitea/workflows/pr-iphone-deploy.yml index acec17e..761dfec 100644 --- a/.gitea/workflows/pr-iphone-deploy.yml +++ b/.gitea/workflows/pr-iphone-deploy.yml @@ -35,17 +35,16 @@ jobs: - name: Setup PATH run: echo "/opt/homebrew/bin" >> $GITHUB_PATH - - name: Clean SPM + Xcode caches (aggressive) + - name: Clean build artifacts run: | - echo "🧹 Nettoyage agressif des caches SPM/Xcode..." + echo "🧹 Cleaning build artifacts..." # Act runner caches rm -rf ~/.cache/act/*/hostexecutor/tabatago-swift/build 2>/dev/null || true - # SPM caches — tous les emplacements connus - rm -rf ~/Library/Caches/org.swift.swiftpm - rm -rf ~/Library/org.swift.swiftpm - rm -rf ~/.swiftpm + # SPM caches are KEPT between runs — RevenueCat is 1.10 GiB and takes + # 5+ minutes to clone; re-cloning on every CI run would waste time + # and cause random failures on the act_runner sandbox. # Xcode DerivedData — suppression COMPLÈTE (le bundle ID a changé, # l'ancien dossier TabataGo-* peut être ignoré par le nouveau build)