mirror of
https://github.com/oxyroid/M3UAndroid.git
synced 2025-05-20 12:56:25 +08:00
fix: update workflow.
This commit is contained in:
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
run: ./gradlew cleanManagedDevices --unused-only
|
run: ./gradlew cleanManagedDevices --unused-only
|
||||||
|
|
||||||
- name: Build production app
|
- name: Build production app
|
||||||
run: ./gradlew :app:smartphone:assembleSnapshotChannelRichCodecRelease
|
run: ./gradlew :app:smartphone:assembleRelease
|
||||||
-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
|
-Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=BaselineProfile
|
||||||
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
|
-Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
|
||||||
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
|
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
|
||||||
@ -57,7 +57,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
app/smartphone/build/outputs/apk/snapshotChannelRichCodec/release/*.apk
|
app/smartphone/build/outputs/apk/release/*.apk
|
||||||
app/tv/build/outputs/apk/release/*.apk
|
app/tv/build/outputs/apk/release/*.apk
|
||||||
|
|
||||||
- name: Upload To Telegram
|
- name: Upload To Telegram
|
||||||
|
@ -12,8 +12,8 @@ class AppPublisher @Inject constructor(private val application: Application) : P
|
|||||||
override val versionName: String = BuildConfig.VERSION_NAME
|
override val versionName: String = BuildConfig.VERSION_NAME
|
||||||
override val versionCode: Int = BuildConfig.VERSION_CODE
|
override val versionCode: Int = BuildConfig.VERSION_CODE
|
||||||
override val debug: Boolean = BuildConfig.DEBUG
|
override val debug: Boolean = BuildConfig.DEBUG
|
||||||
override val snapshot: Boolean = BuildConfig.FLAVOR.contains("snapshotChannel", true)
|
override val snapshot: Boolean = false
|
||||||
override val lite: Boolean = BuildConfig.FLAVOR.contains("liteCodec", true)
|
override val lite: Boolean = false
|
||||||
override val model: String = Build.MODEL
|
override val model: String = Build.MODEL
|
||||||
override val abi: Abi = Abi.of(Build.SUPPORTED_ABIS[0])
|
override val abi: Abi = Abi.of(Build.SUPPORTED_ABIS[0])
|
||||||
override val tv: Boolean
|
override val tv: Boolean
|
||||||
|
@ -1 +1,4 @@
|
|||||||
-keep class com.m3u.core.extension.** { *; }
|
-keep class com.m3u.core.extension.** { *; }
|
||||||
|
-keep class com.squareup.wire.** { *; }
|
||||||
|
-keep class com.m3u.extension.api.model.** { *; }
|
||||||
|
-keep class * extends com.squareup.wire.ProtoAdapter
|
Reference in New Issue
Block a user