No description
Find a file
bot-githubaction 284462b12a
Some checks failed
CI-quick-check / restore-configuration-cache (push) Has been cancelled
CI-quick-check / restore-containerized-gradle-home (push) Has been cancelled
CI-quick-check / restore-custom-gradle-home (push) Has been cancelled
CI-quick-check / restore-gradle-home (push) Has been cancelled
CI-quick-check / restore-java-toolchain (push) Has been cancelled
CI-quick-check / sample-kotlin-dsl (push) Has been cancelled
CI-quick-check / sample-gradle-plugin (push) Has been cancelled
CI-quick-check / toolchain-detection (push) Has been cancelled
CI-quick-check / dependency-graph (push) Has been cancelled
CI-quick-check / dependency-graph-failures (push) Has been cancelled
CI-quick-check / execution-with-caching (push) Has been cancelled
CI-quick-check / execution (push) Has been cancelled
CI-quick-check / develocity-injection (push) Has been cancelled
CI-quick-check / provision-gradle-versions (push) Has been cancelled
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
CI-quick-check / action-inputs (push) Has been cancelled
CI-quick-check / caching-config (push) Has been cancelled
Bump Gradle Wrapper from 8.7 to 8.10 in /.github/workflow-samples/groovy-dsl
2024-08-22 11:21:47 +00:00
.github Bump Gradle Wrapper from 8.7 to 8.10 in /.github/workflow-samples/groovy-dsl 2024-08-22 11:21:47 +00:00
.gitignore Commit asdf .tool-versions 2022-12-07 13:57:00 +13:00
action.yml Update action.yml to represent setup-gradle 2024-08-07 16:50:35 -06:00
CODE_OF_CONDUCT.md add code of conduct 2019-09-21 20:57:04 +02:00
LICENSE Update copyright notice 2023-06-30 08:57:49 -06:00
README.md Update README.md 2024-08-07 16:48:29 -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.

Setup Gradle for use in GitHub Actions workflows

This GitHub Action can be used to configure Gradle 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/actions/setup-gradle@v3
    - name: Build with Gradle
      run: ./gradlew build

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