Releases: gradle/actions
v3.3.2
This patch release fixes a bug in both dependency-submission
and setup-gradle
(#196 introduced in v3.3.1), which resulted in
"No dependency-graph files found to submit" when using the download-and-submit
function.
A number of other minor issues have also been addressed:
What's Changed
- [dependency-submission] Fix bug finding dependency-graph files with 'download-and-submit' (#199)
- [dependency-submission] Use Gradle logger instead of println in dependency graph init script (#191 from @aleksandrserbin)
- [dependency-submission] Retain and log full stacktrace for dependency submission errors (#192)
- [setup-gradle] Improve build scan badge readability with long task names (#200 from @gabrielfeo)
Full Changelog: v3.3.1...v3.3.2
v3.3.1
This patch release fixes a bug in setting the report dir for dependency-submission
, and updates the plugin versions
applied in Develocity injection.
What's Changed
- Bump Develocity and CCUD plugin versions (#185)
- Support custom
DEPENDENCY_GRAPH_REPORT_DIR
variable for dependency-submission (#188)
Full Changelog: v3.3.0...v3.3.1
v3.3.0
This release includes a new action, and improvements to the existing actions.
Highlights include:
- New wrapper-validation action to replace the gradle/wrapper-validation-action action
- Converted dependency-submission action to Typescript. This enabled other important features, like submitting the dependency graph in the same step that it is generated.
- Better caching support for Gradle 8.6+ in setup-gradle
Important
The caching protocol version has changed in this release, so cache entries written with previous versions of the action will not be reused. This means that jobs will effectively start with an empty cache after switching to this release.
Changelog
NEW action gradle/actions/wrapper-validation
- [NEW] Add replacement for
wrapper-validation-action
(#160)
Improvements to gradle/actions/setup-gradle
- [NEW] Cache paths have been updated for Gradle 8.6+ (#45, #163)
- [NEW]
setup-gradle
action can now perform wrapper-validation automatically (#161, #162) - [FIX] Make cache-keys more consistent (#131).
- [FIX] Avoid listing old build results in Job Summary on self-hosted runner (#127)
- [FIX] Deprecation warnings are emitted when using deprecated inputs (#108)
- [FIX] Generate correct
toolchains.xml
file on ARM runners (#89)
Improvements to gradle/actions/depenency-submission
- [NEW] Action is now implemented directly in TypeScript, and does not delegate to
setup-gradle
(#116) - [NEW] Allow dependency resolution task name to be specified (#125)
- [NEW] Dependency-graph is submitted immediately with
dependency-submission
action (#123) - [FIX]
setup-gradle
anddependency-submission
can be used in the same Job (#36)
Full Changelog: v3.2.1...v3.3.0
Actions Summary
Release includes v3.3.0
of the following, available under the v3
version tag:
Note
The gradle/actions/setup-gradle
action supersedes gradle/gradle-build-action
.
The gradle/actions/wrapper-validation
action supersedes gradle/wrapper-validation-action
.
v3.2.1
The recent update to use com.develocity.gradle
plugin resulted in many deprecation warnings being triggered by the init-scripts bundled with this action. This patch release updates these init-scripts to avoid these deprecation warnings.
What's Changed
Full Changelog: v3.2.0...v3.2.1
v3.2.0
Changelog
General improvements
- [NEW] Support authentication for plugin repositories (#31)
- [FIX] Improve rendering of build results table with long values (#35)
Improvements to Dependency Submission
- [FIX] Do not attempt to resolve dependency configurations that are excluded via env var (#107)
Improvements to Develocity injection
- [NEW] Use
com.develocity.gradle
plugin version3.17
by default - [NEW] Can configure capture of file-fingerprint (#58)
- [FIX] Reduce log-level of messages emitted by Develocity injection (#60)
Note
Release includes v3.2.0
of gradle/actions/setup-gradle
and gradle/actions/dependency-submission
.
Available under the v3
version tag.
The gradle/actions/setup-gradle
action supersedes gradle/gradle-build-action
.
The gradle/gradle-build-action@v3.2.0
version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle
.
Full Changelog: v3.1.0...v3.2.0
v3.1.0
This release provides more Gradle output when running with actions debug logging, and fixes some minor issues with gradle/actions/dependency-submission
.
Changelog
- [NEW] Support ACTIONS_STEP_DEBUG mode (#6)
- [NEW] Provide link to GitHub job in generated PR comment (#11)
- [NEW] Report source of dependency in dependency-graph via debug logging (#44)
- [FIX] Unknown command-line option '--dependency-verification' with Gradle 5.6 (#15)
- [FIX] Dependency submission action should handle non-executable gradlew script (#17)
- [FIX] Dependency submission fails when project isolation is enabled (#39)
- [FIX] Incomplete dependency-graph is submitted on build failure (#43)
Full changelog: v3.0.0...v3.1.0
Note
Release includes v3.1.0
of gradle/actions/setup-gradle
and gradle/actions/dependency-submission
.
Available under the v3
version tag.
The gradle/actions/setup-gradle
action supersedes gradle/gradle-build-action
.
The gradle/gradle-build-action@v3.1.0
version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle
.
v3.0.0
Release includes v3.0.0
of gradle/actions/setup-gradle
and gradle/actions/dependency-submission
.
This is the first available under the v3
version tag.
The gradle/actions/setup-gradle
action supersedes gradle/gradle-build-action
.
The gradle/gradle-build-action@v3.0.0
version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle
.
Changes from gradle-build-action@v2
This release brings some useful and much requested features, including:
- save and restore the Gradle configuration-cache data
- add the Job summary content as a PR comment
- easily publish Build Scans® to the free Gradle Build Scan service
- compatibility with Node 20
The only major breaking change from gradle-build-action@v2.12.0
is the update to require a Node 20 runtime environment.
Aside from that change, this release should generally serve as a drop-in replacement for gradle-build-action@v2
.
Changelog
- [NEW] - Run with NodeJs 20.x (gradle/gradle-build-action#946)
- [NEW] - Support for save & restore of configuration-cache data (gradle/gradle-build-action#966)
- [NEW] - Support for automatic adding PR comment with Job Summary content (gradle/gradle-build-action#1020)
- [NEW] - Make it easy to publish a Build Scan® to https://scans.gradle.com (gradle/gradle-build-action#1044)
- [NEW] - Added
dependency-graph-continue-on-failure
input, which can be set tofalse
to force the Job to fail when dependency graph submission fails (gradle/gradle-build-action#1036). Failure modes include:- Fail build step if version of Gradle being executed is not supported for dependency-graph generation (gradle/gradle-build-action#1034)
- Fail job if permissions are insufficient to submit dependency graph via Dependency Submission API (gradle/gradle-build-action#997)
- [NEW] - Add
dependency-graph: clear
option to clear any dependency-graph previously submitted by the job - [FIX] Allow cache entries to be reused by jobs with the same ID in different workflows (gradle/gradle-build-action#1017)
- Workflow name remains part of the cache key, but cache entries generated by the same job id in a different workflow may be restored
- [FIX] Register pre-installed JDKs in Maven toolchains.xml file (gradle/gradle-build-action#1024)
- This allows pre-installed JDKs to be auto-detected by Gradle Toolchain support on Windows
- [FIX] - Update the Gradle Enterprise injection configuration for product rename to Develocity (gradle/gradle-build-action#995)
- [FIX] - Avoid submitting an empty dependency graph when state is loaded from configuration-cache
- [FIX] - Update to
GitHub Dependency Graph Gradle Plugin
v1.2.0 - [DEPRECATION] - Deprecation of the arguments parameter (gradle/gradle-build-action#996)
- [BREAKING CHANGE] - Remove the
gradle-executable
input parameter. Use a separate workflow Step to execute a Gradle from a custom location.
v3.0.0-rc.2
Release candidate for v3.0.0
of gradle/actions/setup-gradle
and gradle/actions/dependency-submission
.
This release candidate is available under the v3
version tag.
The gradle/actions/setup-gradle
action supersedes gradle/gradle-build-action
.
The gradle/gradle-build-action@v3.0.0-rc.2
version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle
.
v3.0.0-rc.1
First release candidate for v3.0.0
of gradle/actions/setup-gradle
and gradle/actions/dependency-submission
.
This release candidate will the first release available under the v3
version tag.
The gradle/actions/setup-gradle
action supersedes gradle/gradle-build-action
.
The gradle/gradle-build-action@v3.0.0-rc.1
version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle
.
v3.0.0-beta.6
First release of gradle/actions
, which is a replacement for gradle/gradle-build-action
and so much more.
Included in this release:
gradle/actions/setup-gradle
: drop-in replacement forgradle/gradle-build-action
gradle/actions/dependency-submission
: specialized action for generating and submitting dependency graphs
These actions be referenced as gradle/actions/<action-name>@v3.0.0-beta.6
or gradle/actions/<action-name>@v3-beta
.
There are no functional changes between gradle/gradle-build-action@v3.0.0-beta.5
and gradle/actions/setup-gradle@v3.0.0-beta.6
.