Skip to content

Releases: gradle/actions

v3.3.2

25 Apr 20:46
Compare
Choose a tag to compare

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

18 Apr 19:49
Compare
Choose a tag to compare

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

12 Apr 19:56
Compare
Choose a tag to compare

This release includes a new action, and improvements to the existing actions.

Highlights include:

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 and dependency-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

08 Apr 18:23
Compare
Choose a tag to compare

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

  • Fix Develocity deprecation warnings in v3.2.1 (#126) by #129

Full Changelog: v3.2.0...v3.2.1

v3.2.0

04 Apr 18:57
e24011a
Compare
Choose a tag to compare

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 version 3.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

13 Feb 20:31
417ae3c
Compare
Choose a tag to compare

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

31 Jan 11:15
ec92e82
Compare
Choose a tag to compare

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 to false to force the Job to fail when dependency graph submission fails (gradle/gradle-build-action#1036). Failure modes include:
  • [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

29 Jan 18:10
aff52e5
Compare
Choose a tag to compare
v3.0.0-rc.2 Pre-release
Pre-release

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

26 Jan 18:57
b6816cf
Compare
Choose a tag to compare
v3.0.0-rc.1 Pre-release
Pre-release

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

26 Jan 16:33
b6816cf
Compare
Choose a tag to compare
Pre-release

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 for gradle/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.