File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 35
35
distribution : ' temurin'
36
36
java-version : ' 17'
37
37
- uses : subosito/flutter-action@v2
38
+ # Prepare Keystore (decode and save it)
39
+ - name : Decode Keystore
40
+ run : |
41
+ echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > ./android/app/key.jks
42
+
43
+ # Set up key.properties file
44
+ - name : Set up key.properties file
45
+ run : |
46
+ echo "storePassword=${{ secrets.ANDROID_KEYSTORE_PASSWORD }}" > $GITHUB_WORKSPACE/android/key.properties
47
+ echo "keyPassword=${{ secrets.ANDROID_KEY_PASSWORD }}" >> $GITHUB_WORKSPACE/android/key.properties
48
+ echo "keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}" >> $GITHUB_WORKSPACE/android/key.properties
49
+ echo "storeFile=key.jks" >> $GITHUB_WORKSPACE/android/key.properties
50
+
38
51
- run : flutter pub get
39
52
- run : flutter clean
40
- - run : flutter build appbundle --debug
53
+ - run : flutter build appbundle
54
+ - name : Archive android app file.
55
+ uses : actions/upload-artifact@v4
56
+ with :
57
+ name : openshock.aab
58
+ path : build/app/outputs/bundle/release/app-release.aab
You can’t perform that action at this time.
0 commit comments