Fix CI: downgrade upload-artifact to v3 for Gitea Actions compatibility
Build APK / build (push) Successful in 5m42s

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 <noreply@anthropic.com>
This commit is contained in:
2026-09-16 15:06:53 -04:00
co-authored by Claude Sonnet 5
parent dca0daf41f
commit ab427c0b9f
+5 -1
View File
@@ -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