mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
disable gradle home cleanup (#45459)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45459 Seeing failures on main with GHA for gradle builds, in the Post Setup gradle step: ``` Could not get unknown property 'cleanupTime' for object of type org.gradle.api.internal.cache.DefaultCacheConfigurations. ``` This is a speculative change to get CI back to stable. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D59802517 fbshipit-source-id: c7b5259397fddef9420570043263e92f21718934
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3d5daa12d4
commit
b443e37a02
@@ -15,4 +15,5 @@ runs:
|
||||
cache-read-only: ${{ (github.ref != 'refs/heads/main' && !contains(github.ref, '-stable')) || inputs.cache-read-only == 'true' }}
|
||||
# Similarly, for those jobs we want to start with a clean cache so it doesn't grow without limits (this is the negation of the previous condition).
|
||||
cache-write-only: ${{ (github.ref == 'refs/heads/main' || contains(github.ref, '-stable')) && inputs.cache-read-only != 'true' }}
|
||||
gradle-home-cache-cleanup: true
|
||||
# Temporarily disabling to try resolve a cache cleanup failure
|
||||
# gradle-home-cache-cleanup: true
|
||||
|
||||
Reference in New Issue
Block a user