Add a configurable timeout for cache reads

Fixes #369
This commit is contained in:
Daz DeBoer
2022-08-16 12:36:07 -06:00
parent 8df5664474
commit 8f9b7c7d7f
2 changed files with 12 additions and 1 deletions

View File

@@ -66,6 +66,10 @@ inputs:
description: When 'true', the action will not attempt to restore the Gradle User Home entries from other Jobs.
required: false
default: false
cache-read-timeout:
description: A timeout value in seconds for cache reads. Requests taking longer that this will be aborted.
required: true
default: 600
workflow-job-context:
description: Used to uniquely identify the current job invocation. Defaults to the matrix values for this job; this should not be overridden by users (INTERNAL).
required: false