From add58192d1c6f4603dc6821e8616f251e2782884 Mon Sep 17 00:00:00 2001 From: daz Date: Mon, 5 Aug 2024 10:54:56 -0600 Subject: [PATCH] Improve parameter description for 'cache-cleanup' --- dependency-submission/action.yml | 3 ++- setup-gradle/action.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dependency-submission/action.yml b/dependency-submission/action.yml index 32b178c..a53e3f7 100644 --- a/dependency-submission/action.yml +++ b/dependency-submission/action.yml @@ -60,7 +60,8 @@ inputs: cache-cleanup: description: | Specifies if the action should attempt to remove any stale/unused entries from the Gradle User Home prior to saving to the GitHub Actions cache. - By default, no cleanup is performed. It can be configured to run every time, or only when all Gradle builds succeed for the Job. + By default ('on-success'), cleanup is performed when all Gradle builds succeed for the Job. + This behaviour can be disabled ('never'), or configured to always run irrespective of the build outcome ('always'). Valid values are 'never', 'on-success' and 'always'. required: false default: 'on-success' diff --git a/setup-gradle/action.yml b/setup-gradle/action.yml index 134eca7..421e9cc 100644 --- a/setup-gradle/action.yml +++ b/setup-gradle/action.yml @@ -43,7 +43,8 @@ inputs: cache-cleanup: description: | Specifies if the action should attempt to remove any stale/unused entries from the Gradle User Home prior to saving to the GitHub Actions cache. - By default, no cleanup is performed. It can be configured to run every time, or only when all Gradle builds succeed for the Job. + By default ('on-success'), cleanup is performed when all Gradle builds succeed for the Job. + This behaviour can be disabled ('never'), or configured to always run irrespective of the build outcome ('always'). Valid values are 'never', 'on-success' and 'always'. required: false default: 'on-success'