mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(ci): Refine analytics task filtering and improve release debugging (#4624)
This commit is contained in:
parent
fae66782af
commit
8b2a9d5f9a
2 changed files with 9 additions and 3 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
|
@ -176,6 +176,9 @@ jobs:
|
|||
VERSION_CODE: ${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }}
|
||||
run: bundle exec fastlane internal
|
||||
|
||||
- name: List outputs
|
||||
run: ls -R app/build/outputs/
|
||||
|
||||
- name: Upload Google AAB artifact
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v6
|
||||
|
|
@ -250,6 +253,9 @@ jobs:
|
|||
VERSION_CODE: ${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }}
|
||||
run: bundle exec fastlane fdroid_build
|
||||
|
||||
- name: List outputs
|
||||
run: ls -R app/build/outputs/
|
||||
|
||||
- name: Upload F-Droid APK artifact
|
||||
uses: actions/upload-artifact@v6
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class AnalyticsConventionPlugin : Plugin<Project> {
|
|||
// This avoids iterating all tasks with a generic filter and improves configuration performance.
|
||||
plugins.withId("com.google.gms.google-services") {
|
||||
tasks.configureEach {
|
||||
if (name.contains("fdroid", ignoreCase = true)) {
|
||||
if (name.contains("GoogleServices", ignoreCase = true) && name.contains("fdroid", ignoreCase = true)) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
|
@ -58,7 +58,7 @@ class AnalyticsConventionPlugin : Plugin<Project> {
|
|||
|
||||
plugins.withId("com.google.firebase.crashlytics") {
|
||||
tasks.configureEach {
|
||||
if (name.contains("fdroid", ignoreCase = true)) {
|
||||
if (name.contains("Crashlytics", ignoreCase = true) && name.contains("fdroid", ignoreCase = true)) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
|
@ -66,7 +66,7 @@ class AnalyticsConventionPlugin : Plugin<Project> {
|
|||
|
||||
plugins.withId("com.datadoghq.dd-sdk-android-gradle-plugin") {
|
||||
tasks.configureEach {
|
||||
if (name.contains("fdroid", ignoreCase = true)) {
|
||||
if ((name.contains("datadog", ignoreCase = true) || name.contains("uploadMapping", ignoreCase = true)) && name.contains("fdroid", ignoreCase = true)) {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue