From 8fa82afb1a82ebfecdf3a85a09f6f4613c9ef419 Mon Sep 17 00:00:00 2001 From: Rafael Caetano Date: Sat, 29 Jul 2023 17:28:45 +0100 Subject: [PATCH] Disable Gradle configuration cache --- .github/workflows/main.yaml | 4 ++-- gradle.properties | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index c12c0a0..17be98b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -44,8 +44,6 @@ jobs: COMMIT=$(git rev-parse --short HEAD) git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git tag -m "Nightly Release" -f -a nightly-release - git push -f origin refs/tags/nightly-release sed -i -e 's/\(versionName = "\)\(.*\)\("\)/\1\2 ('"$COMMIT"')\3/g' buildSrc/src/main/kotlin/AppConfig.kt echo "$MELONDS_KEYSTORE" | base64 -d > ${{runner.workspace}}/keystore.jks echo "MELONDS_KEYSTORE=${{runner.workspace}}/keystore.jks" >> local.properties @@ -54,6 +52,8 @@ jobs: echo "MELONDS_KEY_PASSWORD=$MELONDS_KEYSTORE_PASSWORD" >> local.properties chmod +x ./gradlew ./gradlew :app:assembleGitHubRelease + git tag -m "Nightly Release" -f -a nightly-release + git push -f origin refs/tags/nightly-release - name: Update GitHub Nightly Release id: update_release diff --git a/gradle.properties b/gradle.properties index 18c25ac..e51b908 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,5 +14,4 @@ org.gradle.jvmargs=-Xmx1536m android.useAndroidX=true android.enableJetifier=true -android.nonTransitiveRClass=false -org.gradle.unsafe.configuration-cache=false \ No newline at end of file +android.nonTransitiveRClass=false \ No newline at end of file