Only upload artifacts on master runs
build-apk / build (push) Failing after 3m6s

This commit is contained in:
2026-08-12 01:01:59 +03:00
parent 468349e90c
commit 1c19f5a8e4
+3
View File
@@ -113,12 +113,15 @@ jobs:
- name: Upload debug APK
# Gitea Actions supports only the v3 artifact protocol;
# upload-artifact@v4 fails with GHESNotSupportedError.
# Artifacts are only kept for master runs.
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v3
with:
name: onbudget-debug-apk
path: build/app/outputs/flutter-apk/app-debug.apk
- name: Upload release APK
if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v3
with:
name: onbudget-release-apk