We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f64f71 commit bc268baCopy full SHA for bc268ba
.github/workflows/release.yml
@@ -0,0 +1,31 @@
1
+name: Release Flutter APK
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v2
14
15
+ - name: Setup Flutter
16
+ uses: subosito/flutter-action@v2
17
+ with:
18
+ flutter-version: '3.22.0'
19
20
+ - name: Install dependencies
21
+ run: flutter pub get
22
+ - name: Generate l10n
23
+ run: flutter gen-l10n
24
+ - name: Build APK
25
+ run: flutter build apk --release
26
27
+ - name: Upload APK
28
+ uses: actions/upload-artifact@v2
29
30
+ name: run-flutter-run.apk
31
+ path: build/app/outputs/flutter-apk/app-release.apk
0 commit comments