Remove custom option for cache-read-timeout

Now that `@actions/cache` provides a env var override, we can remove our
custom configuration for setting the timeout on cache restore operations.

If the env var is NOT set, we continue to override the 60min default with 10mins.
This commit is contained in:
Daz DeBoer 2022-08-22 13:07:12 -06:00
parent 84bc83e639
commit 8a386f6915
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
2 changed files with 7 additions and 12 deletions

View file

@ -66,10 +66,6 @@ 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