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 86244cdfbc Add path filters to CI and build workflows
CI skips on changes to platform dirs (ios, linux, macos, web, windows),
docs, and README. Build skips on test-only changes since tests don't
affect the release APK.

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

35 lines
737 B
YAML

name: Build APK
on:
push:
branches: [main]
paths:
- "lib/**"
- "pubspec.yaml"
- "pubspec.lock"
- "android/**"
- "assets/**"
- ".forgejo/workflows/build.yml"
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