You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 21, 2025. It is now read-only.
description: Gradle version to use. If specified, this Gradle version will be downloaded, added to the PATH and used for invoking Gradle.
6
+
description: |
7
+
Gradle version to use. If specified, this Gradle version will be downloaded, added to the PATH and used for invoking Gradle.
8
+
If not provided, it is assumed that the project uses the Gradle Wrapper.
9
9
required: false
10
10
11
+
# Cache configuration
11
12
cache-disabled:
12
13
description: When 'true', all caching is disabled. No entries will be written to or read from the cache.
13
14
required: false
@@ -49,15 +50,13 @@ inputs:
49
50
gradle-home-cache-excludes:
50
51
description: Paths within Gradle User Home to exclude from cache.
51
52
required: false
52
-
# e.g. Use the following setting to prevent the local build cache from being saved/restored
53
-
# gradle-home-cache-excludes: |
54
-
# caches/build-cache-1
55
53
56
54
gradle-home-cache-cleanup:
57
55
description: When 'true', the action will attempt to remove any stale/unused entries from the Gradle User Home prior to saving to the GitHub Actions cache.
58
56
required: false
59
57
default: false
60
58
59
+
# Job summary configuration
61
60
add-job-summary:
62
61
description: Specifies when a Job Summary should be inluded in the action results. Valid values are 'never', 'always' (default), and 'on-failure'.
63
62
required: false
@@ -68,8 +67,11 @@ inputs:
68
67
required: false
69
68
default: 'never'
70
69
70
+
# Dependency Graph configuration
71
71
dependency-graph:
72
-
description: Specifies if a GitHub dependency snapshot should be generated for each Gradle build, and if so, how. Valid values are 'disabled' (default), 'generate', 'generate-and-submit', 'generate-and-upload', 'download-and-submit' and 'clear'.
72
+
description: |
73
+
Specifies if a GitHub dependency snapshot should be generated for each Gradle build, and if so, how.
74
+
Valid values are 'disabled' (default), 'generate', 'generate-and-submit', 'generate-and-upload', 'download-and-submit' and 'clear'.
73
75
required: false
74
76
default: 'disabled'
75
77
@@ -82,6 +84,7 @@ inputs:
82
84
description: Specifies the number of days to retain any artifacts generated by the action. If not set, the default retention settings for the repository will apply.
83
85
required: false
84
86
87
+
# Build Scan configuration
85
88
build-scan-publish:
86
89
description: |
87
90
Set to 'true' to automatically publish build results as a Build Scan on scans.gradle.com.
@@ -97,6 +100,14 @@ inputs:
97
100
description: Indicate that you agree to the Build Scan® terms of use. This input value must be "yes".
98
101
required: false
99
102
103
+
# Wrapper validation configuration
104
+
validate-wrappers:
105
+
description: |
106
+
When 'true', the action will perform the 'wrapper-validation' action automatically.
107
+
If the wrapper checksums are not valid, the action will fail.
108
+
required: false
109
+
default: false
110
+
100
111
# DEPRECATED ACTION INPUTS
101
112
build-scan-terms-of-service-url:
102
113
description: The URL to the Build Scan® terms of use. This input must be set to 'https://gradle.com/terms-of-service'.
@@ -108,31 +119,33 @@ inputs:
108
119
required: false
109
120
deprecation-message: The input has been renamed to align with the Develocity API. Use 'build-scan-terms-of-use-agree' instead.
110
121
122
+
generate-job-summary:
123
+
description: When 'false', no Job Summary will be generated for the Job.
124
+
required: false
125
+
default: true
126
+
deprecation-message: Superceded by the new 'add-job-summary' and 'add-job-summary-as-pr-comment' parameters.
127
+
111
128
arguments:
112
129
description: Gradle command line arguments (supports multi-line input)
113
130
required: false
114
-
deprecation-message: Using the action to execute Gradle directly is deprecated in favor of using the action to setup Gradle, and executing Gradle in a subsequent Step. See https://github.com/gradle/gradle-build-action?tab=readme-ov-file#use-the-action-to-setup-gradle.
131
+
deprecation-message: Using the action to execute Gradle directly is deprecated in favor of using the action to setup Gradle, and executing Gradle in a subsequent Step.
115
132
116
133
build-root-directory:
117
134
description: Path to the root directory of the build. Default is the root of the GitHub workspace.
118
135
required: false
119
-
deprecation-message: Using the action to execute Gradle directly is deprecated in favor of using the action to setup Gradle, and executing Gradle in a subsequent Step. See https://github.com/gradle/gradle-build-action?tab=readme-ov-file#use-the-action-to-setup-gradle.
120
-
121
-
generate-job-summary:
122
-
description: When 'false', no Job Summary will be generated for the Job.
123
-
required: false
124
-
default: true
125
-
deprecation-message: Superceded by the new 'add-job-summary' and 'add-job-summary-as-pr-comment' parameters.
136
+
deprecation-message: Using the action to execute Gradle directly is deprecated in favor of using the action to setup Gradle, and executing Gradle in a subsequent Step.
126
137
127
-
# EXPERIMENTAL & INTERNAL ACTION INPUTS
138
+
# EXPERIMENTAL ACTION INPUTS
128
139
# The following action properties allow fine-grained tweaking of the action caching behaviour.
129
-
# These properties are experimental and not (yet) designed for production use, and may change without notice in a subsequent release of `gradle-build-action`.
140
+
# These properties are experimental and not (yet) designed for production use, and may change without notice in a subsequent release of `setup-gradle`.
130
141
# Use at your own risk!
131
142
gradle-home-cache-strict-match:
132
143
description: When 'true', the action will not attempt to restore the Gradle User Home entries from other Jobs.
133
144
required: false
134
145
default: false
135
146
147
+
# INTERNAL ACTION INPUTS
148
+
# These inputs should not be configured directly, and are only used to pass environmental information to the action
136
149
workflow-job-context:
137
150
description: Used to uniquely identify the current job invocation. Defaults to the matrix values for this job; this should not be overridden by users (INTERNAL).
138
151
required: false
@@ -145,21 +158,18 @@ inputs:
145
158
146
159
outputs:
147
160
build-scan-url:
148
-
description: Link to the Build Scan® generated by a Gradle build. Note that this output applies to a Step executing Gradle, not to the `gradle-build-action` Step itself.
description: Link to the Build Scan® generated by a Gradle build. Note that this output applies to a Step executing Gradle, not to the `setup-gradle` Step itself.
150
162
dependency-graph-file:
151
-
description: Path to the GitHub Dependency Graph snapshot file generated by a Gradle build. Note that this output applies to a Step executing Gradle, not to the `gradle-build-action` Step itself.
description: Path to the GitHub Dependency Graph snapshot file generated by a Gradle build. Note that this output applies to a Step executing Gradle, not to the `setup-gradle` Step itself.
153
164
gradle-version:
154
165
description: Version of Gradle that was setup by the action
0 commit comments