Cache cleanup warning seems to prevent the gradle action from continuing to create new cache entries.
It should continue on and still create the new entries, even when it hits this issue.
Using v2.7.0 got this error on the main branch.
In final post-action step, saving state and writing summary
Stopping all Gradle daemons before saving Gradle User Home state
Stopping Gradle daemons for /root/.gradle/wrapper/dists/gradle-8.3-bin/af8iysnup3ojrl35q121b37/gradle-8.3
/root/.gradle/wrapper/dists/gradle-8.3-bin/af8iys5nup3ojrl35q121b376/gradle-8.3/bin/gradle --stop
Stopping Daemon(s)
1 Daemon stopped
Forcing cache cleanup.
Warning: Unhandled error in Gradle post-action - job will continue: Error: ENOENT: no such file or directory, realpath '/root/.gradle/caches/8.2.1/kotlin-dsl/accessors/862...5-PS/classes/org/gradle/kotlin'
Error: ENOENT: no such file or directory, realpath '/root/.gradle/caches/8.2.1/kotlin-dsl/accessors/862...5-PS/classes/org/gradle/kotlin'
Cache cleanup warning seems to prevent the gradle action from continuing to create new cache entries.
It should continue on and still create the new entries, even when it hits this issue.
Using
v2.7.0
got this error on themain
branch.