File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ jobs:
126126 ANDROID_KEY_ALIAS : ${{ secrets.ANDROID_KEY_ALIAS }}
127127 ANDROID_KEY_PASSWD : ${{ secrets.ANDROID_KEY_PASSWD }}
128128
129- - name : Upload the Android Build Artifact
129+ - name : Upload the Android build artifact
130130 uses : actions/upload-artifact@v5
131131 with :
132132 # Artifact name
@@ -148,6 +148,24 @@ jobs:
148148 files : |
149149 ./SlimeVR-android.apk
150150
151+ - name : Build Google Play release bundle
152+ if : startsWith(github.ref, 'refs/tags/')
153+ run : ./gradlew :server:android:bundleRelease
154+ env :
155+ ANDROID_STORE_FILE : ${{ secrets.ANDROID_GPLAY_STORE_FILE }}
156+ ANDROID_STORE_PASSWD : ${{ secrets.ANDROID_GPLAY_STORE_PASSWD }}
157+ ANDROID_KEY_ALIAS : ${{ secrets.ANDROID_GPLAY_KEY_ALIAS }}
158+ ANDROID_KEY_PASSWD : ${{ secrets.ANDROID_GPLAY_KEY_PASSWD }}
159+
160+ - name : Upload the Google Play artifact
161+ uses : actions/upload-artifact@v5
162+ if : startsWith(github.ref, 'refs/tags/')
163+ with :
164+ # Artifact name
165+ name : ' SlimeVR-Google-Play-Upload' # optional, default is artifact
166+ # A file, directory or wildcard pattern that describes what to upload
167+ path : server/android/build/outputs/bundle/release/*
168+
151169 bundle-linux :
152170 strategy :
153171 matrix :
Original file line number Diff line number Diff line change 55 * For more details take a look at the Java Libraries chapter in the Gradle
66 * User Manual available at https://docs.gradle.org/6.3/userguide/java_library_plugin.html
77 */
8- import com.android.build.gradle.tasks.PackageApplication
8+ import com.android.build.gradle.internal. tasks.BaseTask
99import org.jetbrains.kotlin.gradle.dsl.JvmTarget
1010import org.jetbrains.kotlin.gradle.internal.ensureParentDirsCreated
1111import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
@@ -51,7 +51,7 @@ val preSign = tasks.register("preSign") {
5151val postSign = tasks.register(" postSign" ) {
5252 finalizedBy(deleteTempKeyStore)
5353}
54- tasks.withType<PackageApplication > {
54+ tasks.withType<BaseTask > {
5555 dependsOn(preSign)
5656 finalizedBy(postSign)
5757}
You can’t perform that action at this time.
0 commit comments