Execute your Gradle build and trigger dependency submission
MIT License
Bot releases are visible (Hide)
Published by bigdaz about 2 years ago
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: https://github.com/gradle/gradle-build-action/compare/v2.2.4...v2.2.5
Published by bigdaz about 2 years ago
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: https://github.com/gradle/gradle-build-action/compare/v2.2.3...v2.2.4
Published by bigdaz about 2 years ago
This release updates a number of key dependencies and fixes some cache-related issues:
cache-read-only=true
for scheduled workflows on default branch (#383)v2.2.2
(#407)Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.2.2...v2.2.3
Published by bigdaz over 2 years ago
This release fixes some issues that were discovered in the v2.2.1
release, and updates a number of dependencies.
Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.2.1...v2.2.2
Published by bigdaz over 2 years ago
This release fixes some issues that were exposed by the v2.2.0
release, as well as improving the content and layout of the Job Summary.
Entry not saved: reason unknown
message in Job Summary cache details: #309Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.2.0...v2.2.1
Published by bigdaz over 2 years ago
This release brings a new Job Summary report, as well as numerous improvements and bug fixes:
cache-read-only
for non-default branches (see 0a36ca9fb8a7acc820f34da9116f389a13dc67e2)https://github.com/gradle/gradle-build-action/milestone/7?closed=1
cache-read-only
for non-default branches by @bigdaz in https://github.com/gradle/gradle-build-action/pull/149
Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.7...v2.2.0
Published by bigdaz over 2 years ago
Wait a bit longer and report failures better for file locking issues: 8096e65e0ac33934b80b58fe4d0de1adc7bc586b
Published by bigdaz over 2 years ago
First RC of v2.2.0 release. See v2.2.0 closed issues for details.
Published by bigdaz over 2 years ago
Fixes #293, which prevented v2.1.6
from allowing Gradle to re-use previously downloaded wrapper distributions. This slowed down build executions and could result in build flakiness when the wrapper zip failed to download.
wrapper
folder of Gradle User Home, avoiding re-download of wrapper distributions.Published by bigdaz over 2 years ago
First cut at using GHA Job Summary to display Gradle Build results
Published by bigdaz over 2 years ago
This release contains an fix for changed behaviour in Gradle 7.6, as well as numerous library upgrades.
Earlier versions of the gradle-build-action
were saving and restoring the downloaded Gradle wrapper zip file as part of caching the Gradle User Home. This will no longer work with Gradle 7.6, as the wrapper zip is now removed after expanding. This release of gradle-build-action
contains a fix for this change in Gradle 7.6. Using an older version of the GitHub action with Gradle 7.6 will likely result in the wrapper being downloaded on every GitHub actions invocation.
@actions/core
, @actions/cache
, @actions/github
, @actions/http-client
and @actions/tool-cache
.Full changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.5...v2.1.6
Published by bigdaz over 2 years ago
This release addresses a potential security issue by upgrading minimist
, and fixes a bug with very large cache entries by upgrading @actions/cache
. No other changes are included.
Full changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.4...v2.1.5
Published by bigdaz over 2 years ago
Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.3...v2.1.4
Published by bigdaz over 2 years ago
This patch release fixes an issue that prevented the Gradle User Home from being restored from cache on macos-latest
runners. #155
Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.2...v2.1.3
Published by bigdaz over 2 years ago
This patch release fixes a minor bug and updates some NPM dependencies, including one dependency with a reported security advisory.
gradle.properties
is no longer overwritten by action initializationnode-fetch
to a version that isn't impacted by https://github.com/advisories/GHSA-r683-j2x4-v87g. Note that this CVE has been determined not to impact the action.Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.1...v2.1.2
Published by bigdaz over 2 years ago
This release improves logging and fixes a number of minor issues.
gradlew
script is not executable #76In addition, 2 experimental configuration parameters have been added:
gradle-home-cache-strict-match
: Only reuse cache entries generated by previous invocations for the same jobcache-write-only
: Do not restore cache entries but save on Job completionFull Changelog: https://github.com/gradle/gradle-build-action/compare/v2.1.0...v2.1.1
Published by bigdaz almost 3 years ago
This release brings a major improvement in usability, allowing the action to be used to "setup Gradle" without requiring all Gradle invocations to be managed by the action.
jobs:
build-my-app:
steps:
- uses: actions/checkout@v2
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew build
Any Gradle invocation after the first gradle-build-action
step will benefit from caching and build-scan capture just as if it was invoked through a subsequent gradle-build-action
. This is achieved via init
scripts added when initializing/restoring the Gradle User Home.
This change makes it easier to adopt the gradle-build-action
into an existing GitHub Actions workflow and enables usages such as:
run
step to invoke Gradle and still benefit from Gradle User Home caching as well as build-scan integration.Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.0.0...v2.1.0
Published by bigdaz almost 3 years ago
This patch release fixes a couple of cases where a failure to store caches would cause the entire Job to fail. The goal of the gradle-build-action
is to warn-and-continue on all recoverable cache failures.
Full Changelog: https://github.com/gradle/gradle-build-action/compare/v2.0.0...v2.0.1
Published by bigdaz almost 3 years ago
This is the initial release of gradle-build-action@v2
, which brings significant performance and usability improvements over v1
. A few key improvements are outlined here, but see the project README for more details.
Thanks for trying it out!
The gradle-build-action
has been redesigned from the ground up to work well with minimal configuration, avoiding the need for most users to tweak multiple configuration options to benefit.
Highlights:
Notice
annotations to your workflow run.A key benefit of gradle-build-action
over other solutions is the sophisticated support for saving and restoring relevant Gradle state between build invocations. This caching support speeds up build invocations and is designed to work in most scenarios without further tweaking.
Highlights:
Published by bigdaz almost 3 years ago
Adds a useful report outlining cache entries restored/saved, and fixes a few issues found in v2.0-rc.1
.
dependencies
cache bundle, instead of just .jar
files (#100)gradle-home-cache-includes
and gradle-home-cache-excludes
are now multi-line inputs (#106)