Fix CI: downgrade upload-artifact to v3 for Gitea Actions compatibility
Build APK / build (push) Successful in 5m42s
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user