File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11name : Build and Release
22
3+ permissions :
4+ contents : write
5+ actions : read
6+
37on :
48 push :
59 tags :
5559 git commit -m "chore: update version to ${{ steps.version.outputs.version }}" || exit 0
5660 git push origin HEAD:main || exit 0
5761
58- - name : Build APK
62+ - name : Setup signingQueue
63+ run : |
64+ echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/app/release-key.jks
65+ echo "storeFile=release-key.jks" > key.properties
66+ echo "storePassword=${{ secrets.KEYSTORE_PASSWORD }}" >> key.properties
67+ echo "keyAlias=${{ secrets.KEY_ALIAS }}" >> key.properties
68+ echo "keyPassword=${{ secrets.KEY_PASSWORD }}" >> key.properties
69+
70+ - name : Build signed APK
5971 run : flutter build apk --release
6072
73+ - name : Clean up signing files
74+ run : |
75+ rm -f android/app/release-key.jks
76+ rm -f android/key.properties
77+
6178 - name : Build App Bundle
6279 run : flutter build appbundle --release
6380
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ allprojects {
66}
77
88subprojects {
9- ext. kotlin_version = ' 1.8.22 '
9+ ext. kotlin_version = ' 2.0.21 '
1010}
1111
1212rootProject. buildDir = ' ../build'
You can’t perform that action at this time.
0 commit comments