mirror of
https://github.com/gradle/actions.git
synced 2025-08-23 18:31:28 +08:00
Update dependency-submission
action for 3.2.0
- Point to `setup-gradle` v3.2.0 - Add back in removed inputs
This commit is contained in:
parent
eb261d5636
commit
e24011a3b5
@ -47,6 +47,17 @@ inputs:
|
|||||||
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
||||||
required: false
|
required: false
|
||||||
|
|
||||||
|
# DEPRECATED ACTION INPUTS
|
||||||
|
build-scan-terms-of-service-url:
|
||||||
|
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service'.
|
||||||
|
required: false
|
||||||
|
deprecation-message: The input has been renamed to align with the Develocity API. Use 'build-scan-terms-of-use-url' instead.
|
||||||
|
|
||||||
|
build-scan-terms-of-service-agree:
|
||||||
|
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
|
||||||
|
required: false
|
||||||
|
deprecation-message: The input has been renamed to align with the Develocity API. Use 'build-scan-terms-of-use-agree' instead.
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@ -59,7 +70,7 @@ runs:
|
|||||||
fi
|
fi
|
||||||
- name: Generate dependency graph
|
- name: Generate dependency graph
|
||||||
if: ${{ inputs.dependency-graph == 'generate-and-submit' || inputs.dependency-graph == 'generate-and-upload' }}
|
if: ${{ inputs.dependency-graph == 'generate-and-submit' || inputs.dependency-graph == 'generate-and-upload' }}
|
||||||
uses: gradle/actions/setup-gradle@v3.1.0
|
uses: gradle/actions/setup-gradle@v3.2.0
|
||||||
with:
|
with:
|
||||||
dependency-graph: ${{ inputs.dependency-graph }}
|
dependency-graph: ${{ inputs.dependency-graph }}
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
@ -67,8 +78,8 @@ runs:
|
|||||||
build-root-directory: ${{ inputs.build-root-directory }}
|
build-root-directory: ${{ inputs.build-root-directory }}
|
||||||
cache-encryption-key: ${{ inputs.cache-encryption-key }}
|
cache-encryption-key: ${{ inputs.cache-encryption-key }}
|
||||||
build-scan-publish: ${{ inputs.build-scan-publish }}
|
build-scan-publish: ${{ inputs.build-scan-publish }}
|
||||||
build-scan-terms-of-use-url: ${{ inputs.build-scan-terms-of-use-url }}
|
build-scan-terms-of-use-url: ${{ inputs.build-scan-terms-of-use-url || inputs.build-scan-terms-of-service-url }}
|
||||||
build-scan-terms-of-use-agree: ${{ inputs.build-scan-terms-of-use-agree }}
|
build-scan-terms-of-use-agree: ${{ inputs.build-scan-terms-of-use-agree || inputs.build-scan-terms-of-service-agree }}
|
||||||
artifact-retention-days: 1
|
artifact-retention-days: 1
|
||||||
arguments: |
|
arguments: |
|
||||||
-Dorg.gradle.configureondemand=false
|
-Dorg.gradle.configureondemand=false
|
||||||
@ -78,7 +89,7 @@ runs:
|
|||||||
${{ inputs.additional-arguments }}
|
${{ inputs.additional-arguments }}
|
||||||
- name: Download and submit dependency graph
|
- name: Download and submit dependency graph
|
||||||
if: ${{ inputs.dependency-graph == 'download-and-submit' }}
|
if: ${{ inputs.dependency-graph == 'download-and-submit' }}
|
||||||
uses: gradle/actions/setup-gradle@v3.1.0
|
uses: gradle/actions/setup-gradle@v3.2.0
|
||||||
with:
|
with:
|
||||||
dependency-graph: download-and-submit
|
dependency-graph: download-and-submit
|
||||||
dependency-graph-continue-on-failure: false
|
dependency-graph-continue-on-failure: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user