File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1111 build :
1212 name : Build, Sign & Upload
1313 runs-on : ubuntu-latest
14- env :
15- KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
16- KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
17- KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
18- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
19-
2014 steps :
2115 - name : Checkout project
22163731 - name : Stop Gradle daemons
3832 run : ./gradlew --stop
3933
34+ - name : Decode keystore
35+ id : write_base64_file
36+ 37+ with :
38+ destinationFileName : ' mLauncher.jks'
39+ destinationPath : ' app'
40+ encodedString : ${{ secrets.SIGNINGKEY_BASE64 }}
41+
4042 - name : Build with Gradle
4143 run : ./gradlew clean assembleProdDebug --refresh-dependencies --no-daemon
4244 env :
43- JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
45+ JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
46+ KEY_STORE_FILE : ${{ steps.write_base64_file.outputs.filePath }}
47+ KEY_STORE_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
48+ KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
49+ KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments