From f053e6b7e762697bd313092cc673c5459dbfe781 Mon Sep 17 00:00:00 2001 From: daz Date: Wed, 13 Dec 2023 11:41:32 -0700 Subject: [PATCH] Deprecate the `arguments` parameter Fixes #996 --- action.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 02ba6c1..5d1469e 100644 --- a/action.yml +++ b/action.yml @@ -59,10 +59,6 @@ inputs: required: false default: false - arguments: - description: Gradle command line arguments (supports multi-line input) - required: false - generate-job-summary: description: When 'false', no Job Summary will be generated for the Job. required: false @@ -77,6 +73,12 @@ inputs: description: Specifies the number of days to retain any artifacts generated by the action. If not set, the default retention settings for the repository will apply. required: false + # DEPRECATED ACTION INPUTS + arguments: + description: Gradle command line arguments (supports multi-line input) + required: false + deprecation-message: The `gradle-build-action` will configure your runner so that any subsequent Gradle execution will benefit. Using the action to execute Gradle directly is deprecated in favor of executing Gradle in a subsequent Step. See https://github.com/gradle/gradle-build-action?tab=readme-ov-file#use-the-action-to-setup-gradle. + # EXPERIMENTAL & INTERNAL ACTION INPUTS # The following action properties allow fine-grained tweaking of the action caching behaviour. # These properties are experimental and not (yet) designed for production use, and may change without notice in a subsequent release of `gradle-build-action`.