File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 2929 with :
3030 java-version : ' 17'
3131 distribution : ' temurin'
32+
33+ - name : Setup Android SDK Tools
34+ # You may pin to the exact commit or the version.
35+ # uses: android-actions/setup-android@72fdd2e74f58fb338a2743720c0847b8becf1589
36+ uses : android-actions/setup-android@v2.0.2
3237
3338 - name : Add Mode
3439 run : echo "org.flypen.app" | quasar mode add capacitor
6166 release_name : Release ${{ github.run_number }}
6267 draft : false
6368 prerelease : true
64-
69+
70+ - name : Setup Android SDK Tools
71+ # You may pin to the exact commit or the version.
72+ # uses: android-actions/setup-android@72fdd2e74f58fb338a2743720c0847b8becf1589
73+ uses : android-actions/setup-android@v2.0.2
74+
75+ - name : Decode keystore
76+ env :
77+ KEYSTORE_BASE64 : ${{ secrets.KEYSTORE_BASE64 }}
78+ run : |
79+ echo $KEYSTORE_BASE64 | base64 -d > keystore.jks
80+
81+ - name : Sign APK
82+ env :
83+ ALIAS : " org.flypen.app"
84+ KEYSTORE_PASSWORD : ${{ secrets.PASSWORD }}
85+ KEY_PASSWORD : ${{ secrets.PASSWORD }}
86+ run : |
87+ jarsigner -keystore keystore.jks -storepass $KEYSTORE_PASSWORD -keypass $KEY_PASSWORD -signedjar signed.apk unsigned.apk $ALIAS
88+
6589 - name : Upload APK
6690 uses : actions/upload-release-asset@v1
6791 env :
You can’t perform that action at this time.
0 commit comments