Skip to content

Commit

Permalink
Enable gradle configuration cache (but not in release pipeline)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 25, 2024
1 parent f5d51e0 commit 6c1ee44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:

- run: ./gradlew lintRelease publishToMavenLocal

- run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
- run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

org.gradle.configuration-cache=true

0 comments on commit 6c1ee44

Please sign in to comment.