burrunan / gradle-cache-action

GitHub Action to properly cache ~/.gradle folder
Apache License 2.0
150 stars 13 forks source link

Retry Gradle execution if it fails #16

Open vlsi opened 4 years ago

vlsi commented 4 years ago

For instance, the following error should be safe to retry.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':buildSrc'.
> Could not resolve all artifacts for configuration ':buildSrc:classpath'.
   > Could not download bcprov-jdk15on-1.64.jar (org.bouncycastle:bcprov-jdk15on:1.64)
      > Could not get resource 'https://plugins.gradle.org/m2/org/bouncycastle/bcprov-jdk15on/1.64/bcprov-jdk15on-1.64.jar'.
         > Connection reset

See https://github.com/gradle/gradle/issues/2598#issuecomment-676412666