Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit db35f23

Browse files
committed
Bump to v3.4.0
1 parent 4c39dd8 commit db35f23

File tree

1 file changed

+67
-6
lines changed

1 file changed

+67
-6
lines changed

action.yml

Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ inputs:
2323

2424
cache-write-only:
2525
description: |
26-
When 'true', entries will not be restored from the cache but will be saved at the end of the Job.
26+
When 'true', entries will not be restored from the cache but will be saved at the end of the Job.
2727
Setting this to 'true' implies cache-read-only will be 'false'.
2828
required: false
2929
default: false
@@ -35,7 +35,7 @@ inputs:
3535

3636
cache-encryption-key:
3737
description: |
38-
A base64 encoded AES key used to encrypt the configuration-cache data. The key is exported as 'GRADLE_ENCRYPTION_KEY' for later steps.
38+
A base64 encoded AES key used to encrypt the configuration-cache data. The key is exported as 'GRADLE_ENCRYPTION_KEY' for later steps.
3939
A suitable key can be generated with `openssl rand -base64 16`.
4040
Configuration-cache data will not be saved/restored without an encryption key being provided.
4141
required: false
@@ -70,7 +70,7 @@ inputs:
7070
# Dependency Graph configuration
7171
dependency-graph:
7272
description: |
73-
Specifies if a GitHub dependency snapshot should be generated for each Gradle build, and if so, how.
73+
Specifies if a GitHub dependency snapshot should be generated for each Gradle build, and if so, how.
7474
Valid values are 'disabled' (default), 'generate', 'generate-and-submit', 'generate-and-upload', 'download-and-submit' and 'clear'.
7575
required: false
7676
default: 'disabled'
@@ -95,11 +95,59 @@ inputs:
9595
build-scan-terms-of-use-url:
9696
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service' or 'https://gradle.com/help/legal-terms-of-use'.
9797
required: false
98-
98+
9999
build-scan-terms-of-use-agree:
100100
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
101101
required: false
102102

103+
develocity-access-key:
104+
description: Develocity access key. Should be set to a secret containing the Develocity Access key.
105+
required: false
106+
107+
develocity-token-expiry:
108+
description: The Develocity short-lived access tokens expiry in hours. Default is 2 hours.
109+
required: false
110+
111+
develocity-injection-enabled:
112+
description: Enables Develocity injection.
113+
required: false
114+
115+
develocity-url:
116+
description: The URL for the Develocity server.
117+
required: false
118+
119+
develocity-allow-untrusted-server:
120+
description: Allow communication with an untrusted server; set to _true_ if your Develocity instance is using a self-signed.
121+
required: false
122+
123+
develocity-capture-file-fingerprints:
124+
description: Enables capturing the paths and content hashes of each individual input file.
125+
required: false
126+
127+
develocity-enforce-url:
128+
description: Enforce the configured Develocity URL over a URL configured in the project's build; set to _true_ to enforce publication of build scans to the configured Develocity URL.
129+
required: false
130+
131+
develocity-plugin-version:
132+
description: The version of the Develocity Gradle plugin to apply.
133+
required: false
134+
135+
develocity-ccud-plugin-version:
136+
description: The version of the Common Custom User Data Gradle plugin to apply, if any.
137+
required: false
138+
139+
gradle-plugin-repository-url:
140+
description: The URL of the repository to use when resolving the Develocity and CCUD plugins; the Gradle Plugin Portal is used by default.
141+
required: false
142+
143+
gradle-plugin-repository-username:
144+
description: The username for the repository URL to use when resolving the Develocity and CCUD.
145+
required: false
146+
147+
gradle-plugin-repository-password:
148+
description: The password for the repository URL to use when resolving the Develocity and CCUD plugins; Consider using secrets to pass the value to this variable.
149+
required: false
150+
103151
# Wrapper validation configuration
104152
validate-wrappers:
105153
description: |
@@ -143,7 +191,7 @@ inputs:
143191
description: When 'true', the action will not attempt to restore the Gradle User Home entries from other Jobs.
144192
required: false
145193
default: false
146-
194+
147195
# INTERNAL ACTION INPUTS
148196
# These inputs should not be configured directly, and are only used to pass environmental information to the action
149197
workflow-job-context:
@@ -172,7 +220,7 @@ runs:
172220
steps:
173221
- name: Setup Gradle
174222
id: setup-gradle
175-
uses: gradle/actions/setup-gradle@v3.3.2
223+
uses: gradle/actions/setup-gradle@v3.4.0
176224
with:
177225
gradle-version: ${{ inputs.gradle-version }}
178226
cache-disabled: ${{ inputs.cache-disabled }}
@@ -200,6 +248,19 @@ runs:
200248
gradle-home-cache-strict-match: ${{ inputs.gradle-home-cache-strict-match }}
201249
workflow-job-context: ${{ inputs.workflow-job-context }}
202250
github-token: ${{ inputs.github-token }}
251+
develocity-access-key: ${{ inputs.develocity-access-key }}
252+
develocity-token-expiry: ${{ inputs.develocity-token-expiry }}
253+
develocity-injection-enabled: ${{ inputs.develocity-injection-enabled }}
254+
develocity-url: ${{ inputs.develocity-url }}
255+
develocity-allow-untrusted-server: ${{ inputs.develocity-allow-untrusted-server }}
256+
develocity-capture-file-fingerprints: ${{ inputs.develocity-capture-file-fingerprints }}
257+
develocity-enforce-url: ${{ inputs.develocity-enforce-url }}
258+
develocity-plugin-version: ${{ inputs.develocity-plugin-version }}
259+
develocity-ccud-plugin-version: ${{ inputs.develocity-ccud-plugin-version }}
260+
gradle-plugin-repository-url: ${{ inputs.gradle-plugin-repository-url }}
261+
gradle-plugin-repository-username: ${{ inputs.gradle-plugin-repository-username }}
262+
gradle-plugin-repository-password: ${{ inputs.gradle-plugin-repository-password }}
263+
203264
env:
204265
GRADLE_ACTION_ID: gradle/gradle-build-action
205266

0 commit comments

Comments
 (0)