Skip to content

Releases: gradle/gradle-build-action

v2.4.0

18 Feb 20:47
6095a76
Compare
Choose a tag to compare

What's new

The v.2.4.0 release contains various library updates and fixes to fully support Gradle 8.

Notable changes:

  • Update to @actions/cache: 3.1.3 should improve cache save/restore performance on Windows by using gnu tar and zstd when available.
  • Fix caching of extracted JDK toolchains for Gradle 7.6+ (e444647)

Full Changelog: v2.3.3...v2.4.0

v2.3.3

22 Oct 14:29
3fbe033
Compare
Choose a tag to compare

This patch release removes all uses of the deprecated set-output and set-state commands, and should remove deprecation warnings from build logs. See #461 and #477 for more details.

Full Changelog: v2.3.2...v2.3.3

v2.3.2

29 Sep 14:33
fd32ae9
Compare
Choose a tag to compare

This patch release fixes an issue which could result in errors in the post-action step. See #441 for details.

Full Changelog: v2.3.1...v2.3.2

v2.3.1

22 Sep 17:10
c295a40
Compare
Choose a tag to compare

This patch release addresses some security vulnerabilities reported by the CodeQL check:

The release contains no functional changes.

Full Changelog: v2.3.0...v2.3.1

v2.3.0

29 Aug 17:51
356abb4
Compare
Choose a tag to compare

What's new

With v2.3.0, the gradle-build-action can now attempt to remove any unused files from the Gradle User Home directory before storing to the GitHub Actions cache. This can prevent cases where the size of cache entry grows over time.

Gradle Home cache cleanup is disabled by default. You can enable this feature for the action as follows:

gradle-home-cache-cleanup: true

See the README for more details.

Full Changelog: v2.2.5...v2.3.0

v2.3.0-beta.1

22 Aug 21:25
d427a37
Compare
Choose a tag to compare
Pre-release

Introduces experimental support for removing unused files from Gradle User Home prior to caching.

v2.2.5

19 Aug 20:26
cd579d9
Compare
Choose a tag to compare

What's fixed

Fixes a bug where a corrupted cache entry caused an error in beforeSave (#408). This meant that the entry was never purged.
By allowing @actions/globber to follow symlinks and ignore broken symlinks, the bad files in the cache entry are ignored and the corrupted cache entry can be replaced by a good one.

Full Changelog: v2.2.4...v2.2.5

v2.2.4

18 Aug 19:02
bf2a15e
Compare
Choose a tag to compare

What's fixed

The fix for #383 introduced a bug that caused the post-action to fail when attempting to resolve cache-read-only for scheduled jobs.
This has been fixed with an explicit (rather than implicit) check for 'event.repository != null'. (#409)

Full Changelog: v2.2.3...v2.2.4

v2.2.3

17 Aug 21:03
9411346
Compare
Choose a tag to compare

What's fixed

This release updates a number of key dependencies and fixes some cache-related issues:

  • Do not set cache-read-only=true for scheduled workflows on default branch (#383)
  • Fix reporting of caching errors that was broken in v2.2.2 (#407)
  • Abort cache download operations after 10 minutes (configurable). Previously cache download operations could hang the build. (#369)

Full Changelog: v2.2.2...v2.2.3

v2.2.2

18 Jul 22:49
cd3cedc
Compare
Choose a tag to compare

What's fixed

This release fixes some issues that were discovered in the v2.2.1 release, and updates a number of dependencies.

  • Improved support for GitHub Enterprise
    • Do not attempt to use GitHub Actions cache when the feature is not available
    • Write Gradle Build summary to log files when Job Summary functionality not available
  • Only attempt to stop Gradle daemons when caching Gradle User Home (#341)
  • Only write build-results file when GitHub Actions env vars are available (#350)

Full Changelog: v2.2.1...v2.2.2