Skip to content

Commit

Permalink
Do not use build cache when releasing
Browse files Browse the repository at this point in the history
(cherry picked from commit f166f7b)
  • Loading branch information
gsmet committed Dec 12, 2023
1 parent 8d5a34f commit 14ad405
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .mvn/gradle-enterprise.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
</buildScan>
<buildCache>
<local>
<enabled>#{env['GRADLE_LOCAL_BUILD_CACHE'] != null}</enabled>
<enabled>#{env['GRADLE_LOCAL_BUILD_CACHE'] != null and env['RELEASE_GITHUB_TOKEN'] == null}</enabled>
</local>
<remote>
<enabled>true</enabled>
<storeEnabled>#{env['CI'] != null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != ''}</storeEnabled>
<enabled>#{env['RELEASE_GITHUB_TOKEN'] == null}</enabled>
<storeEnabled>#{env['CI'] != null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != null and env['GRADLE_ENTERPRISE_ACCESS_KEY'] != '' and env['RELEASE_GITHUB_TOKEN'] == null}</storeEnabled>
</remote>
</buildCache>
</gradleEnterprise>

0 comments on commit 14ad405

Please sign in to comment.