Disable Gradle configuration cache

This commit is contained in:
Rafael Caetano 2023-07-29 17:28:45 +01:00
parent e9066a4ff3
commit 8fa82afb1a
2 changed files with 3 additions and 4 deletions

View File

@ -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

View File

@ -14,5 +14,4 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
android.enableJetifier=true
android.nonTransitiveRClass=false
org.gradle.unsafe.configuration-cache=false
android.nonTransitiveRClass=false