From 998f0ac6bc5e0a897aa6193a9dc7ca5dcd709265 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 6 Sep 2026 18:01:34 +0200 Subject: [PATCH] =?UTF-8?q?fix(ci):=20retombe=20sur=20upload-artifact=20v3?= =?UTF-8?q?=20(v4+=20non=20support=C3=A9=20par=20ce=20Forgejo)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le tout premier build-android complet et signé (keystore enfin correct) échouait quand même à la toute dernière étape : GHESNotSupportedError: @actions/artifact v2.0.0+, upload-artifact@v4+ et download-artifact@v4+ ne sont pas actuellement supportés sur GHES. v4+ exige l'API "Results" propre à github.com — non implémentée par ce runner Forgejo self-hosted. v3 utilise encore l'ancienne API Artifacts, seule compatible ici ; l'interface name/path utilisée par ce job est identique entre les deux versions, aucun autre changement nécessaire. Co-Authored-By: Claude Sonnet 5 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9447ee2..c44edeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -283,7 +283,10 @@ jobs: chmod +x ./gradlew ./gradlew assembleRelease - - uses: https://github.com/actions/upload-artifact@v4 + # v4+ exige l'API "Results" de GitHub, que ce runner Forgejo self-hosted + # ne supporte pas ("GHESNotSupportedError") — v3 utilise encore + # l'ancienne API Artifacts (compatible), seule version utilisable ici. + - uses: https://github.com/actions/upload-artifact@v3 with: name: batchcooking-release.apk path: apps/web/android/app/build/outputs/apk/release/app-release.apk