File tree Expand file tree Collapse file tree 5 files changed +31
-21
lines changed
Expand file tree Collapse file tree 5 files changed +31
-21
lines changed Original file line number Diff line number Diff line change 1313 build :
1414 name : Build, Sign & Upload
1515 runs-on : ubuntu-latest
16+ env :
17+ KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
18+ KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
19+ KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
20+ KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
21+
1622 steps :
1723 - name : Checkout project
1824 uses : actions/checkout@v6.0.1
3743 run : ./gradlew clean assembleProdDebug --refresh-dependencies --no-daemon
3844 env :
3945 JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
40- KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
41- KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
42- KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
43- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
4446
4547 - name : Upload Artifact
4648 uses : actions/upload-artifact@v6.0.0
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+
1420 steps :
1521 - name : Checkout project
1622 uses : actions/checkout@v6.0.1
3440 - name : Build with Gradle
3541 run : ./gradlew clean assembleProdDebug --refresh-dependencies --no-daemon
3642 env :
37- JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
38- KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
39- KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
40- KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
41- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
43+ JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
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+
1420 steps :
1521 - name : Checkout project
1622 uses : actions/checkout@v6.0.1
3541 run : ./gradlew clean assembleProdDebug --refresh-dependencies --no-daemon
3642 env :
3743 JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
38- KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
39- KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
40- KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
41- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
4244
4345 - name : Upload Artifact
4446 uses : actions/upload-artifact@v6.0.0
Original file line number Diff line number Diff line change 1111 name : Build, Sign & Release
1212 if : " !startsWith(github.ref_name, 'nightly')"
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+
1420 steps :
1521 - name : Checkout project
1622 uses : actions/checkout@v6.0.1
3541 run : ./gradlew clean assembleProdRelease --refresh-dependencies --no-daemon && ./gradlew clean bundleProdRelease --refresh-dependencies --no-daemon
3642 env :
3743 JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
38- KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
39- KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
40- KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
41- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
4244
4345 - name : Release to GitHub
4446 uses : svenstaro/upload-release-action@2.11.3
Original file line number Diff line number Diff line change 2525 build :
2626 name : Build, Sign & Release
2727 runs-on : ubuntu-latest
28+ env :
29+ KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
30+ KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
31+ KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
32+ KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
33+
2834 needs : release
2935 steps :
3036 - name : Checkout project
4955 run : ./gradlew clean assembleNightlyRelease --refresh-dependencies --no-daemon
5056 env :
5157 JAVA_TOOL_OPTIONS : " -Dhttps.protocols=TLSv1.2"
52- KEY_STORE_FILE : ${{ secrets.SIGNINGKEY_BASE64 }} # optional if using a file from env
53- KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
54- KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
55- KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
5658
5759 - name : Extract Version
5860 id : extract_version
You can’t perform that action at this time.
0 commit comments