From dcd1f46274ddea872b5f840f4907f7de58d11164 Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX Date: Thu, 3 Oct 2024 08:00:49 -0400 Subject: [PATCH] Drop orphanaed tags to optimize fetch call --- .github/workflows/android.yml | 20 ++++++++++++++++++-- app/build.gradle | 8 ++++---- gradle.properties | 1 + 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 70557dd25..b5cf13363 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -8,7 +8,8 @@ on: - '.github/ISSUE_TEMPLATE/**' - 'assets/**' -permissions: +permissions: + actions: write contents: write concurrency: @@ -16,8 +17,21 @@ concurrency: cancel-in-progress: true jobs: - wearos: + orphan: if: ${{ github.repository == 'HiddenRamblings/TagMo' }} + runs-on: ubuntu-latest + env: + CI: true + steps: + + - name: Drop orphan tags + continue-on-error: true + uses: fabriziocacicia/delete-tags-without-release-action@v0.1.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + wearos: + needs: orphan continue-on-error: true runs-on: ubuntu-latest @@ -56,6 +70,7 @@ jobs: # Properties are passed as -Pname=value properties: | org.gradle.unsafe.configuration-cache=true + org.gradle.configuration-cache=true - uses: r0adkll/sign-android-release@v1 name: Sign WearOS APK @@ -125,6 +140,7 @@ jobs: # Properties are passed as -Pname=value properties: | org.gradle.unsafe.configuration-cache=true + org.gradle.configuration-cache=true - uses: r0adkll/sign-android-release@v1 name: Sign Release APK diff --git a/app/build.gradle b/app/build.gradle index 860ffa2d1..34f4d2369 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -132,14 +132,14 @@ dependencies { implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.core:core-ktx:1.13.1' implementation 'androidx.core:core-splashscreen:1.0.1' - implementation 'androidx.fragment:fragment-ktx:1.8.3' + implementation 'androidx.fragment:fragment-ktx:1.8.4' implementation 'androidx.preference:preference-ktx:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.3.2' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' - implementation 'androidx.webkit:webkit:1.12.0' + implementation 'androidx.webkit:webkit:1.12.1' wearosImplementation "androidx.wear:wear:1.3.0" - implementation 'com.android.billingclient:billing:7.1.0' + implementation 'com.android.billingclient:billing:7.1.1' implementation 'com.github.bumptech.glide:glide:4.16.0' ksp 'com.github.bumptech.glide:ksp:4.16.0' @@ -162,5 +162,5 @@ dependencies { implementation 'org.lsposed.hiddenapibypass:hiddenapibypass:4.3' - implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.8.0' + implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0' } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 48c9c97ad..816a545a6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,6 +19,7 @@ android.useAndroidX=true kapt.incremental.apt=true # Caches results of configuration phase for subsequent builds org.gradle.unsafe.configuration-cache=true +org.gradle.configuration-cache=true # Gradle wil run parallel compilation tasks within subprojects kotlin.parallel.tasks.in.project=true android.defaults.buildfeatures.buildconfig=true