From ece3b331dfbcf47e84686c8b1c84728572423ace Mon Sep 17 00:00:00 2001 From: Samarth Gupta <64777291+samarth-gupta-traceable@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:12:46 +0530 Subject: [PATCH] Expose build-root-directory in gradle action --- gradle/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gradle/action.yml b/gradle/action.yml index 9271c34..0af4f52 100644 --- a/gradle/action.yml +++ b/gradle/action.yml @@ -12,11 +12,16 @@ inputs: description: 'max heap to allocate to gradle' required: true default: '6g' + build-root-directory: + description: 'Path to the root directory of the build. Default is the root of the GitHub workspace.' + required: true + default: $GITHUB_WORKSPACE runs: using: "composite" steps: - uses: gradle/gradle-build-action@v2 with: + build-root-directory: ${{ inputs.build-root-directory }} arguments: | --info --max-workers=${{ inputs.max-workers }}