Skip to content

Commit

Permalink
Expose build-root-directory in gradle action
Browse files Browse the repository at this point in the history
  • Loading branch information
samarth-gupta-traceable committed Oct 7, 2024
1 parent 7fc8e2e commit ece3b33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit ece3b33

Please sign in to comment.