Skip to content

Commit 010b540

Browse files
committed
fix: update workflow.
1 parent cad450a commit 010b540

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: ./gradlew cleanManagedDevices --unused-only
4444

4545
- name: Build production app
46-
run: ./gradlew :app:smartphone:assembleSnapshotChannelRichCodecRelease
46+
run: ./gradlew :app:smartphone:assembleRelease
4747
-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
4848
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
4949
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
@@ -57,7 +57,7 @@ jobs:
5757
uses: actions/upload-artifact@v4
5858
with:
5959
path: |
60-
app/smartphone/build/outputs/apk/snapshotChannelRichCodec/release/*.apk
60+
app/smartphone/build/outputs/apk/release/*.apk
6161
app/tv/build/outputs/apk/release/*.apk
6262
6363
- name: Upload To Telegram

app/smartphone/src/main/java/com/m3u/smartphone/AppPublisher.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class AppPublisher @Inject constructor(private val application: Application) : P
1212
override val versionName: String = BuildConfig.VERSION_NAME
1313
override val versionCode: Int = BuildConfig.VERSION_CODE
1414
override val debug: Boolean = BuildConfig.DEBUG
15-
override val snapshot: Boolean = BuildConfig.FLAVOR.contains("snapshotChannel", true)
16-
override val lite: Boolean = BuildConfig.FLAVOR.contains("liteCodec", true)
15+
override val snapshot: Boolean = false
16+
override val lite: Boolean = false
1717
override val model: String = Build.MODEL
1818
override val abi: Abi = Abi.of(Build.SUPPORTED_ABIS[0])
1919
override val tv: Boolean

core/extension/consumer-rules.pro

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
-keep class com.m3u.core.extension.** { *; }
1+
-keep class com.m3u.core.extension.** { *; }
2+
-keep class com.squareup.wire.** { *; }
3+
-keep class com.m3u.extension.api.model.** { *; }
4+
-keep class * extends com.squareup.wire.ProtoAdapter

0 commit comments

Comments
 (0)