Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 47d849a122 | |||
| ba7f335b67 |
@@ -3,11 +3,15 @@ name: CI
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- 'lib/**.dart'
|
||||||
|
- 'test/**.dart'
|
||||||
|
- 'android/**'
|
||||||
|
- 'pubspec.yaml'
|
||||||
|
- 'pubspec.lock'
|
||||||
|
- 'images/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
# Manual trigger. Worth having on a self-hosted runner: when a run fails for
|
|
||||||
# reasons outside the repo — the runner was down, a toolchain changed — this
|
|
||||||
# re-runs it without an empty commit to force one.
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Both jobs target a self-hosted runner, by capability rather than by hostname.
|
# Both jobs target a self-hosted runner, by capability rather than by hostname.
|
||||||
@@ -47,6 +51,8 @@ jobs:
|
|||||||
release-apk:
|
release-apk:
|
||||||
name: Release APK
|
name: Release APK
|
||||||
runs-on: flutter-android
|
runs-on: flutter-android
|
||||||
|
needs: [analyze]
|
||||||
|
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user