Use upload-artifact@v3 — v4 not supported by Gitea Actions
build-apk / build (push) Successful in 11m37s

upload-artifact@v4 relies on the new @actions/artifact 2.x protocol and
fails on Gitea with GHESNotSupportedError. v3 uses the older artifact
API that Gitea implements.
This commit is contained in:
2026-08-12 00:37:51 +03:00
parent 3943135397
commit 269f17ce66
+4 -2
View File
@@ -75,13 +75,15 @@ jobs:
run: flutter build apk --release
- name: Upload debug APK
uses: actions/upload-artifact@v4
# Gitea Actions supports only the v3 artifact protocol;
# upload-artifact@v4 fails with GHESNotSupportedError.
uses: actions/upload-artifact@v3
with:
name: onbudget-debug-apk
path: build/app/outputs/flutter-apk/app-debug.apk
- name: Upload release APK
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: onbudget-release-apk
path: build/app/outputs/flutter-apk/app-release.apk