Sourced from gradle/gradle-build-action's releases.
v3.0.0-rc.1
First release candidate of
gradle/gradle-build-action@v3.0.0
. This release candidate will the first release available under thev3
version tag.[!IMPORTANT] As of
v3
this action has been superceded bygradle/actions/setup-gradle
. Any workflow that usesgradle/gradle-build-action@v3
will transparently delegate togradle/actions/setup-gradle@v3
.Users are encouraged to update their workflows, replacing:
uses: gradle/gradle-build-action@v3
with
uses: gradle/actions/setup-gradle@v3
See the setup-gradle documentation for up-to-date documentation for
gradle/actons/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 forgradle-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
- [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.
... (truncated)
4a8703f
Delegate to 'setup-gradle@v3.0.0-rc.1'4a39eed
Mention setup-gradle in README272883a
Remove all action sources: these have been migrated to
'gradle/actions'2a8bfcf
Delegate action implementation to gradle/actions/setup-gradlee1ada08
Bump the github-actions group with 1 update (#1047)a8e3e5e
Apply dependency version updates2be01ca
Build outputsa00827e
Bump the npm-dependencies group with 7 updatesad80850
Bump the github-actions group with 2 updatesbd6d0a7
Configure explicit java version for config-cache test