Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Bump gradle/gradle-build-action from 2.0.1 to 2.1.0 #89

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 3, 2022

Bumps gradle/gradle-build-action from 2.0.1 to 2.1.0.

Release notes

Sourced from gradle/gradle-build-action's releases.

v2.1.0

Overview

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:

  • Redirect all Gradle log output to a file #72
  • Run a script to configure the environment prior to Gradle invocation #15
  • Capture Gradle output for use in a subsequent step #112

Usability improvements

  • Can use regular run step to invoke Gradle and still benefit from Gradle User Home caching as well as build-scan integration.

Caching improvements

  • Wrapper distributions and generated API jars are now cached individually, allowing for better reuse and more efficient storage: #78
  • Java distributions downloaded by Gradle are cached: #33

Changes in detail

Full Changelog: gradle/gradle-build-action@v2.0.0...v2.1.0

Commits
  • 3edb3cb Reorder inputs in metadata file for v2.1
  • 3609b77 Polish README for v2.1
  • f804351 Merge pull request #131 from gradle/cache-jdks
  • 39e5152 Build outputs
  • 76ea8a7 Treat configuration-cache as an extracted entry
  • 12fc52a Combine java-toolchain entry definitions
  • c157d0a Cache downloaded Java Toolchains
  • c61f5d8 Test java-toolchain cache
  • c208b4c Test caching with gradle-plugin project
  • b4e6c2b Minor improvements to README
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](gradle/gradle-build-action@v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code labels Jan 3, 2022
@miurahr miurahr merged commit 4e1ceb8 into master Jan 4, 2022
@dependabot dependabot bot deleted the dependabot/github_actions/gradle/gradle-build-action-2.1.0 branch January 4, 2022 14:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant