mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
Allow additional arguments for resolve-all-dependencies
At times, additional CLI args may be required to invoke Gradle. Add a parameter to provide these args.
This commit is contained in:
parent
177cef6d02
commit
58d5bdcbe5
1 changed files with 6 additions and 2 deletions
|
@ -29,6 +29,10 @@ inputs:
|
|||
required to submit via the Dependency Submission API.
|
||||
required: false
|
||||
default: 'generate-and-submit'
|
||||
additional-arguments:
|
||||
description: |
|
||||
Additional arguments to pass to Gradle. For example, `--no-configuration-cache --stacktrace`.
|
||||
required: false
|
||||
|
||||
build-scan-publish:
|
||||
description: |
|
||||
|
@ -61,8 +65,8 @@ runs:
|
|||
arguments: |
|
||||
--no-configure-on-demand
|
||||
--dependency-verification=off
|
||||
--stacktrace
|
||||
:ForceDependencyResolutionPlugin_resolveAllDependencies
|
||||
${{ inputs.additional-arguments }}
|
||||
- name: Generate and save dependency graph
|
||||
if: ${{ inputs.dependency-graph-action == 'generate-and-save' }}
|
||||
uses: gradle/actions/setup-gradle@v3-beta
|
||||
|
@ -78,8 +82,8 @@ runs:
|
|||
arguments: |
|
||||
--no-configure-on-demand
|
||||
--dependency-verification=off
|
||||
--stacktrace
|
||||
:ForceDependencyResolutionPlugin_resolveAllDependencies
|
||||
${{ inputs.additional-arguments }}
|
||||
- name: Download and submit dependency graph
|
||||
if: ${{ inputs.dependency-graph-action == 'retrieve-and-submit' }}
|
||||
uses: gradle/actions/setup-gradle@v3-beta
|
||||
|
|
Loading…
Reference in a new issue