daz db35f23046
Some checks failed
CI-quick-check / action-inputs (push) Failing after 33s
CI-quick-check / caching-config (push) Failing after 33s
CI-quick-check / dependency-graph (push) Failing after 33s
CI-quick-check / dependency-graph-failures (push) Failing after 33s
CI-quick-check / execution-with-caching (push) Failing after 33s
CI-quick-check / execution (push) Failing after 33s
CI-quick-check / develocity-injection (push) Failing after 32s
CI-quick-check / provision-gradle-versions (push) Failing after 33s
CI-quick-check / restore-configuration-cache (push) Failing after 33s
CI-quick-check / restore-containerized-gradle-home (push) Failing after 33s
CI-quick-check / restore-custom-gradle-home (push) Failing after 33s
CI-quick-check / restore-gradle-home (push) Failing after 33s
CI-quick-check / restore-java-toolchain (push) Failing after 33s
CI-quick-check / sample-kotlin-dsl (push) Failing after 32s
CI-quick-check / sample-gradle-plugin (push) Failing after 33s
CI-quick-check / toolchain-detection (push) Failing after 34s
Demo Job Summary, for Gradle builds / many-gradle-builds (push) Has been cancelled
Demo Job Summary, for Gradle builds / successful-builds-with-no-summary (push) Has been cancelled
Demo Job Summary, for Gradle builds / pre-existing-gradle-home (push) Has been cancelled
Bump to v3.4.0
2024-06-13 15:09:45 -06:00
2024-04-12 14:15:29 -06:00
2022-12-07 13:57:00 +13:00
2024-06-13 15:09:45 -06:00
2019-09-21 20:57:04 +02:00
2023-06-30 08:57:49 -06:00

Important

As of v3 this action has been superceded by gradle/actions/setup-gradle. Any workflow that uses gradle/gradle-build-action@v3 will transparently delegate to gradle/actions/setup-gradle@v3.

Users are encouraged to update their workflows, replacing:

uses: gradle/gradle-build-action@v3

with

uses: gradle/actions/setup-gradle@v3

See the setup-gradle documentation for up-to-date documentation for gradle/actions/setup-gradle.

Execute Gradle builds in GitHub Actions workflows

This GitHub Action can be used to configure Gradle and optionally execute a Gradle build on any platform supported by GitHub Actions.

Example usage

name: Build

on: [ push ]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout sources
      uses: actions/checkout@v4
    - name: Setup Gradle
      uses: gradle/gradle-build-action@v3
    - name: Build with Gradle
      run: ./gradlew build

As of v3, the gradle/gradle-build-action action delegates to gradle/actions/setup-gradle with the same version. Configuration and usage of these actions is identical for releases with the same version number.

See the full setup-gradle documentation for more advanced usage scenarios.

Description
Languages
Markdown 100%