From ab427c0b9f60fc2373f98691e4d44c9795b9c836 Mon Sep 17 00:00:00 2001 From: ayushya Date: Wed, 16 Sep 2026 15:06:53 -0400 Subject: [PATCH] Fix CI: downgrade upload-artifact to v3 for Gitea Actions compatibility actions/upload-artifact@v4 speaks a newer artifact backend protocol that Gitea Actions doesn't implement yet, failing with GHESNotSupportedError even though this isn't GHES. v3 uses the older protocol Gitea does support. The build itself (flutter analyze + flutter build apk --release) already succeeded before this step. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 6e509d1..690a113 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -44,7 +44,11 @@ jobs: run: flutter build apk --release - name: Upload APK - uses: actions/upload-artifact@v4 + # v4 speaks a newer artifact protocol (Azure Blob-style) that + # Gitea Actions doesn't implement yet - it errors as + # "GHESNotSupportedError" even though this isn't GHES. v3 uses the + # older protocol Gitea does support. + uses: actions/upload-artifact@v3 with: name: app-release-apk path: build/app/outputs/flutter-apk/app-release.apk