Skip to content

Commit e24011a

Browse files
committed
Update dependency-submission action for 3.2.0
- Point to `setup-gradle` v3.2.0 - Add back in removed inputs
1 parent eb261d5 commit e24011a

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

dependency-submission/action.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ inputs:
4747
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
4848
required: false
4949

50+
# DEPRECATED ACTION INPUTS
51+
build-scan-terms-of-service-url:
52+
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service'.
53+
required: false
54+
deprecation-message: The input has been renamed to align with the Develocity API. Use 'build-scan-terms-of-use-url' instead.
55+
56+
build-scan-terms-of-service-agree:
57+
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
58+
required: false
59+
deprecation-message: The input has been renamed to align with the Develocity API. Use 'build-scan-terms-of-use-agree' instead.
60+
5061
runs:
5162
using: "composite"
5263
steps:
@@ -59,16 +70,16 @@ runs:
5970
fi
6071
- name: Generate dependency graph
6172
if: ${{ inputs.dependency-graph == 'generate-and-submit' || inputs.dependency-graph == 'generate-and-upload' }}
62-
uses: gradle/actions/setup-gradle@v3.1.0
73+
uses: gradle/actions/setup-gradle@v3.2.0
6374
with:
6475
dependency-graph: ${{ inputs.dependency-graph }}
6576
dependency-graph-continue-on-failure: false
6677
gradle-version: ${{ inputs.gradle-version }}
6778
build-root-directory: ${{ inputs.build-root-directory }}
6879
cache-encryption-key: ${{ inputs.cache-encryption-key }}
6980
build-scan-publish: ${{ inputs.build-scan-publish }}
70-
build-scan-terms-of-use-url: ${{ inputs.build-scan-terms-of-use-url }}
71-
build-scan-terms-of-use-agree: ${{ inputs.build-scan-terms-of-use-agree }}
81+
build-scan-terms-of-use-url: ${{ inputs.build-scan-terms-of-use-url || inputs.build-scan-terms-of-service-url }}
82+
build-scan-terms-of-use-agree: ${{ inputs.build-scan-terms-of-use-agree || inputs.build-scan-terms-of-service-agree }}
7283
artifact-retention-days: 1
7384
arguments: |
7485
-Dorg.gradle.configureondemand=false
@@ -78,7 +89,7 @@ runs:
7889
${{ inputs.additional-arguments }}
7990
- name: Download and submit dependency graph
8091
if: ${{ inputs.dependency-graph == 'download-and-submit' }}
81-
uses: gradle/actions/setup-gradle@v3.1.0
92+
uses: gradle/actions/setup-gradle@v3.2.0
8293
with:
8394
dependency-graph: download-and-submit
8495
dependency-graph-continue-on-failure: false

0 commit comments

Comments
 (0)