From 3edb3cb004617998d8cf56fe2ebf9d59602e713e Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Thu, 30 Dec 2021 18:16:51 -0700 Subject: [PATCH] Reorder inputs in metadata file for v2.1 --- action.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/action.yml b/action.yml index 9cd1f7c..f506dee 100644 --- a/action.yml +++ b/action.yml @@ -1,25 +1,13 @@ name: "Gradle Build Action" -description: 'Executes a Gradle build, caching useful state in the GitHub actions cache' +description: 'Configures Gradle for use in GitHub actions, caching useful state in the GitHub actions cache' # https://help.github.com/en/articles/metadata-syntax-for-github-actions inputs: - gradle-executable: - description: Path to the Gradle executable - required: false - gradle-version: description: Gradle version to use required: false - build-root-directory: - description: Path to the root directory of the build - required: false - - arguments: - description: Gradle command line arguments (supports multi-line input) - required: false - cache-disabled: description: When 'true', all caching is disabled. No entries will be written to or read from the cache. required: false @@ -42,12 +30,23 @@ inputs: gradle-home-cache-excludes: description: Paths within Gradle User Home to exclude from cache. required: false - # e.g. Use the following setting to prevent the local build cache from being saved/restored # gradle-home-cache-excludes: | # ["caches/build-cache-1"] - # EXPERIMENTAL & INTERNAL CONFIGURATION PROPERTIES + arguments: + description: Gradle command line arguments (supports multi-line input) + required: false + + build-root-directory: + description: Path to the root directory of the build + required: false + + gradle-executable: + description: Path to the Gradle executable + required: false + + # EXPERIMENTAL & INTERNAL ACTION INPUTS # The following action properties allow fine-grained tweaking of the action caching behaviour. # These properties are not designed for production use, and may change without notice in a subsequent release of `gradle-build-action`. # Use at your own risk!