This repository has been archived on 2026-06-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
FabledApp/.forgejo/workflows/build.yml
T
bvandeusen 6abc4257be Add Forgejo Actions CI and APK build workflows
ci.yml: flutter analyze + flutter test on every push, runs in
  ghcr.io/cirruslabs/flutter:stable container (includes Flutter, Dart,
  Java, Android SDK)
build.yml: release APK build on main push, uploaded as workflow artifact
  (downloadable from Forgejo Actions UI, retained 30 days)

No secrets required. Uses existing swarm-runner.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-08 20:29:20 -04:00

28 lines
583 B
YAML

name: Build APK
on:
push:
branches: [main]
jobs:
build:
name: Build release APK
runs-on: ubuntu-latest
container:
image: ghcr.io/cirruslabs/flutter:stable
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: flutter pub get
- name: Build release APK
run: flutter build apk --release
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: fabledapp-${{ github.sha }}
path: build/app/outputs/flutter-apk/app-release.apk
retention-days: 30