File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -485,6 +485,7 @@ steps:
485485
486486| Input | Description | Default |
487487|---------------------------|-----------------------------------------------------------------------------|----------------------------------------------------------------------|
488+ | `working-directory` | Relative path under github.workspace to execute the build in | `.` |
488489| `artifactory-reader-role` | Suffix for the Artifactory reader role in Vault | `private-reader` for private repos, `public-reader` for public repos |
489490| `use-develocity` | Whether to use Develocity for build tracking | `false` |
490491| `develocity-url` | URL for Develocity | `https://develocity.sonar.build/` |
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ runs:
147147 id : config-gradle
148148 with :
149149 host-actions-root : ${{ steps.set-path.outputs.host_actions_root }}
150+ working-directory : ${{ inputs.working-directory }}
150151 artifactory-reader-role : ${{ inputs.artifactory-reader-role }}
151152 use-develocity : ${{ inputs.use-develocity }}
152153 develocity-url : ${{ inputs.develocity-url }}
Original file line number Diff line number Diff line change 22name : Configure Gradle
33description : GitHub Action to configure Gradle build environment with build number, authentication, and default settings
44inputs :
5+ working-directory :
6+ description : Relative path under github.workspace to execute the build in
7+ default : .
58 artifactory-reader-role :
69 description : Suffix for the Artifactory reader role in Vault. Defaults to `private-reader` for private repositories,
710 and `public-reader` for public repositories.
@@ -186,6 +189,7 @@ runs:
186189 id : set-version
187190 if : steps.config-gradle-completed.outputs.skip != 'true'
188191 shell : bash
192+ working-directory : ${{ inputs.working-directory }}
189193 run : ${GITHUB_ACTION_PATH}/set_gradle_project_version.sh
190194
191195 - name : Deactivate UseContainerSupport on github-ubuntu-* runners
You can’t perform that action at this time.
0 commit comments