From 27ca718e54e2172cbe083149790ff253b0aaeff2 Mon Sep 17 00:00:00 2001 From: Irene Date: Thu, 27 Aug 2026 23:58:02 +0900 Subject: [PATCH] ci: split into fast analyze + slow release build with path gating analyze runs on every push/PR (fast check). release-apk only fires on push to master or workflow_dispatch (slow build). Doc-only pushes no longer trigger any CI run. workflow_dispatch triggers both jobs unconditionally. --- .github/workflows/ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index edea7b3..0d71f2f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,9 +7,9 @@ on: - 'lib/**.dart' - 'test/**.dart' - 'android/**' - - 'tool/**' - 'pubspec.yaml' - 'pubspec.lock' + - 'images/**' pull_request: branches: [ master ] workflow_dispatch: @@ -42,6 +42,7 @@ jobs: name: Release APK runs-on: flutter-android needs: [analyze] + if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v4