actions

A collection of GitHub Actions to accelerate your Gradle Builds on GitHub

MIT License

Stars
158
Committers
39

Bot releases are visible (Hide)

actions - v4.1.0

Published by bigdaz about 1 month ago

This release brings some minor improvements:

  • The latest release of Gradle is no longer required to perform cache-cleanup. If Gradle is found to on the PATH and the version meets minimum version requirements, then the version on PATH is used for cache-cleanup and Gradle is not downloaded.
  • Fixes a bug where setting the develocity-token-expiry parameter had no effect (#381)
  • Numerous NPM dependency updates

Full Changelog: https://github.com/gradle/actions/compare/v4.0.1...v4.1.0

actions - v4.0.1 Latest Release

Published by bigdaz about 2 months ago

This patch release updates a number of dependencies, and fixes a bug that caused Gradle version '8.1' to be confused with '8.10'.

What's Changed

Full Changelog: https://github.com/gradle/actions/compare/v4.0.0...v4.0.1

actions - v4.0.0

Published by bigdaz 2 months ago

Final release of v4.0.0 of the setup-gradle, dependency-submission and wrapper-validation actions provided under gradle/actions.
This release is available under the v4 tag.

Major changes from the v3 release

The arguments parameter has been removed

Using the action to execute Gradle via the arguments parameter was deprecated in v3 and this parameter has been removed.
See here for more details.

Cache cleanup enabled by default

After a number of fixes and improvements, this release enables cache-cleanup by default for all Jobs using the setup-gradle and dependency-submission actions.

Improvements and bugfixes related cache cleanup:

  • By default, cache cleanup is not run if any Gradle build fails (#71)
  • Cache cleanup is not run after configuration-cache reuse (#19)

This feature should help to minimize the size of entries written to the GitHub Actions cache, speeding up builds and reducing cache usage.

Wrapper validation enabled by default

In v3, the setup-gradle action was enhanced to support Gradle wrapper validation, removing the need to use a separate workflow
file with the gradle/actions/wrapper-validation action.

With this release, wrapper validation has been significantly improved, and is now enabled by default (#12):

  • The allow-snapshot-wrappers makes it possible to validate snapshot wrapper jars using setup-gradle.
  • Checksums for nightly and snapshot Gradle versions are now validated (#281).
  • Valid wrapper checksums are cached in Gradle User Home, reducing the need to retrieve checksum values remotely (#172).
  • Reduce network calls in wrapper-validation for new Gradle versions: By only fetching wrapper checksums for Gradle versions that were not known when this action was released, this release reduces the likelihood that a network failure could cause failure in wrapper validation (#171)
  • Improved error message when wrapper-validation finds no wrapper jars (#284)

Wrapper validation is important for supply-chain integrity. Enabling this feature by default will increase the coverage of wrapper
validation on projects using GitHub Actions.

New input parameters for Dependency Graph generation

Some dependency-graph inputs that could previously only be configured via environment variables now have dedicated action inputs:

Other improvements

  • In Job summary, the action now provides an explanation when cache is set to read-only or disabled (#255)
  • When setup-gradle requests a specific Gradle version, the action will no longer download and install that version if it is already available on the PATH of the runner (#270)
  • To attempt to speed up builds, the setup-gradle and dependency-submission actions now attempt to use the D: drive for Gradle User Home if it is available (#290)

Deprecations and breaking changes

Changelog

Full Changelog: https://github.com/gradle/actions/compare/v3.5.0...v4.0.0

actions - v4.0.0-rc.1

Published by bigdaz 3 months ago

First release candidate for v4 of the setup-gradle, dependency-submission and wrapper-validation actions provided under gradle/actions. As no issues were reported, this release candidate has been promoted as v4.0.0.
This is the first release available under the v4 tag.

Full Changelog: https://github.com/gradle/actions/compare/v3.5.0...v4.0.0-rc.1

actions - v4.0.0-beta.2

Published by bigdaz 3 months ago

Second beta release for v4 of the setup-gradle, dependency-submission and wrapper-validation actions provided under gradle/actions.
This release (and all subsequent releases leading up to v4) will be available under the prerelease/v4 tag. eg.

uses: gradle/actions/setup-gradle@prerelease/v4

Full Changelog: https://github.com/gradle/actions/compare/v3.5.0...v4.0.0-beta.2

actions - v4.0.0-beta.1

Published by bigdaz 3 months ago

First beta release for v4 of the setup-gradle, dependency-submission and wrapper-validation actions provided under gradle/actions.
This release (and all subsequent releases leading up to v4) will be available under the prerelease/v4 tag. eg.

Full Changelog: https://github.com/gradle/actions/compare/v3.5.0...v4.0.0-beta.1

actions - v3.5.0

Published by bigdaz 3 months ago

This release contains a major upgrade to gradle-home-cache-cleanup as well as improvements to dependency-submission.

What's Changed

  • Include Gradle 8.9 in known wrapper checksums (avoiding the need to download) (#266)
  • Improvements to cache-cleanup
    • Provision latest Gradle version to use for cache-cleanup (#33, #271)
    • Avoid use of timestamp manipulation for cache-cleanup (#24, #272)
    • Cleanup artifact transforms cache in Gradle home (#47)
    • More logging from cache-cleanup operation (#169)
  • Use latest dependency graph plugin (#269)
  • Automatically upload dependency graph file on submission failure (#291)

Full Changelog: https://github.com/gradle/actions/compare/v3.4.2...v3.5.0

actions - v3.4.2

Published by cdsap 4 months ago

This patch release fixes a race condition that resulted in the DEVELOCITY_ACCESS_KEY variable not being set in the environment.

What's Changed

Full Changelog: https://github.com/gradle/actions/compare/v3.4.1...v3.4.2

actions - v3.4.1

Published by bigdaz 4 months ago

This patch release fixes a bug introduced in v3.4.0, that prevents build scan publication to Develocity.
The bug results in the removal of the DEVELOCITY_ACCESS_KEY variable being removed, so that Gradle cannot authenticate with the Develocity server.

What's Changed

Full Changelog: https://github.com/gradle/actions/compare/v3.4.0...v3.4.1

actions - v3.4.0

Published by bigdaz 4 months ago

This release improves the integration with Gradle Develocity®, as well as updating a number of key dependencies.

  • The new develocity-access-key input parameter allows the action to generate a short-lived access token for subsequent
    communication with Develocity. This reduces the risk of the full (long-lived) access key being compromised,
    either accidentally or by a malicious action.
  • New input parameters are available to configure Develocity injection. Previously Develocity injection could only be
    enabled by setting environment variables.
  • Checksums for Gradle 8.8 are now included, so that no network request is required for wrapper-validation with Gradle 8.8 wrappers.

What's Changed

New Contributors

Full Changelog: https://github.com/gradle/actions/compare/v3.3.2...v3.4.0

actions - v3.3.2

Published by bigdaz 6 months ago

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: https://github.com/gradle/actions/compare/v3.3.1...v3.3.2

actions - v3.3.1

Published by bigdaz 6 months ago

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: https://github.com/gradle/actions/compare/v3.3.0...v3.3.1

actions - v3.3.0

Published by bigdaz 6 months ago

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: https://github.com/gradle/actions/compare/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.

actions - v3.2.1

Published by bigdaz 6 months ago

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: https://github.com/gradle/actions/compare/v3.2.0...v3.2.1

actions - v3.2.0

Published by bigdaz 7 months ago

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/[email protected] version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle.

Full Changelog: https://github.com/gradle/actions/compare/v3.1.0...v3.2.0

actions - v3.1.0

Published by bigdaz 8 months ago

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: https://github.com/gradle/actions/compare/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/[email protected] version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle.

actions - v3.0.0

Published by bigdaz 9 months ago

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/[email protected] 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 [email protected] 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

actions -

Published by bigdaz 9 months ago

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/[email protected] version will be released in parallel, and will delegate to this release of gradle/actions/setup-gradle.

actions -

Published by bigdaz 9 months ago

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/[email protected] version will be released in parallel, and will delegate to gradle/actions/[email protected].

Full release notes will be made available with the final v3.0.0 release.

actions -

Published by bigdaz 9 months ago

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/[email protected] and gradle/actions/[email protected].

Package Rankings
Top 21.04% on Github actions
Related Projects