File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed
Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Android Master CI
2+ on :
3+ push :
4+ branches :
5+ - master
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ if : " !contains(github.event.head_commit.message, 'ci skip')"
10+ steps :
11+ - uses : actions/checkout@v4
12+ with :
13+ fetch-depth : 0
14+ - name : set up JDK 21
15+ uses : actions/setup-java@v4
16+ with :
17+ java-version : ' 21'
18+ distribution : ' temurin'
19+ cache : gradle
20+ - name : Grant execute permission for gradlew
21+ run : chmod +x gradlew
22+ - name : Decode Keystore
23+ env :
24+ KEYSTORE_BASE64 : ${{ secrets.KEYSTORE_BASE64 }}
25+ run : |
26+ echo "$KEYSTORE_BASE64" | base64 --decode > /tmp/key.jks
27+ - name : Build with Gradle
28+ env :
29+ SIGN_KEY_STORE_FILE : " /tmp/key.jks"
30+ SIGN_KEY_STORE_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
31+ SIGN_KEY_ALIAS : ${{ secrets.KEY_ALIAS }}
32+ SIGN_KEY_PASSWORD : ${{ secrets.KEY_PASSWORD }}
33+ run : |
34+ ./gradlew assembleDebug
35+ - name : Upload APK
36+ uses : actions/upload-artifact@v4
37+ with :
38+ name : TurboIMS-CI
39+ path : app/build/outputs/apk/debug/app-debug.apk
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ android {
6262 @Suppress(" UnstableApiUsage" )
6363 vcsInfo.include = false
6464 versionNameSuffix = " .d$gitVersionCode .$gitVersionName "
65+ signingConfig = signingConfigs.getByName(" sign" )
6566 }
6667 release {
6768 isMinifyEnabled = true
Original file line number Diff line number Diff line change 22agp = " 8.13.2"
33kotlin = " 2.3.0"
44
5- app-version = " 3.5 "
5+ app-version = " 3.6 "
66android-compileSdk = " 36"
77android-minSdk = " 33"
88android-targetSdk = " 36"
You can’t perform that action at this time.
0 commit comments