Skip to content

Commit

Permalink
disable gradle home cleanup
Browse files Browse the repository at this point in the history
Summary:
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.

Reviewed By: cortinico

Differential Revision: D59802517
  • Loading branch information
blakef authored and facebook-github-bot committed Jul 16, 2024
1 parent 334b5c9 commit 3c5e87a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/setup-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3c5e87a

Please sign in to comment.