Skip to content

Commit 902a650

Browse files
mostronatorcoder[bot]MostronatorCoder[bot]
andauthored
chore: remove debug APK build from CI, keep analyze + test (#525)
The debug APK build takes ~16 minutes and adds no value over flutter analyze + flutter test. The real build happens in release.yml when a tag is pushed. Also removed minSdkVersion config (only needed for actual builds) and renamed workflow to 'CI Check' for clarity. Co-authored-by: MostronatorCoder[bot] <179aboratory+MostronatorCoder[bot]@users.noreply.github.com>
1 parent aae48c2 commit 902a650

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Build Check"
1+
name: "CI Check"
22

33
on:
44
push:
@@ -7,8 +7,8 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
build:
11-
name: Build Check
10+
check:
11+
name: Analyze & Test
1212
runs-on: ubuntu-latest
1313

1414
steps:
@@ -28,17 +28,6 @@ jobs:
2828
channel: 'stable'
2929
cache: true
3030

31-
- name: Configure Flutter minSdkVersion
32-
run: |
33-
set -euo pipefail
34-
mkdir -p android
35-
touch android/local.properties
36-
if grep -qE '^flutter\.minSdkVersion=' android/local.properties; then
37-
sed -i 's/^flutter\.minSdkVersion=.*/flutter.minSdkVersion=23/' android/local.properties
38-
else
39-
echo "flutter.minSdkVersion=23" >> android/local.properties
40-
fi
41-
4231
- name: Install Dependencies
4332
run: flutter pub get
4433

@@ -50,6 +39,3 @@ jobs:
5039

5140
- name: Run tests
5241
run: flutter test
53-
54-
- name: Build APK (debug check)
55-
run: flutter build apk --debug

0 commit comments

Comments
 (0)