Skip to content

Commit 64d162f

Browse files
new push
1 parent 11d6211 commit 64d162f

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/workflows/buildapk.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Flutter CI
22

33
on:
4+
pull_request:
5+
branches:
6+
- main
7+
48
push:
59
branches:
610
- main
@@ -19,8 +23,11 @@ jobs:
1923
- run: flutter pub get
2024
- run: flutter format --set-exit-if-changed .
2125
- run: flutter analyze .
22-
- run: flutter build apk
23-
- uses: actions/upload-artifact@v1
26+
- run: flutter build apk --debug --split-per-abi
27+
##- uses: actions/upload-artifact@v1
28+
- uses: ncipollo/release-action@v1
2429
with:
25-
name: release-apk
26-
path: build/app/outputs/apk/release/app-release.apk
30+
##name: release-apk
31+
artifacts: "build/app/outputs/apk/release/*"
32+
##path: build/app/outputs/apk/release/app-release.apk
33+
tag: v1.0.${{ github.run_number }}

lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class MyApp extends StatelessWidget {
1010
@override
1111
Widget build(BuildContext context) {
1212
return MaterialApp(
13-
title: 'Github Action main',
13+
title: 'MVC Practice',
1414
theme: ThemeData(
1515
primarySwatch: Colors.blue,
1616
),

0 commit comments

Comments
 (0)