Compare commits

...

2 Commits
v3.5.0 ... main

Author SHA1 Message Date
Daz DeBoer
093dfe9d59
Update action.yml to represent setup-gradle
Some checks failed
CI-quick-check / action-inputs (push) Has been cancelled
CI-quick-check / caching-config (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
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
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
2024-08-07 16:50:35 -06:00
Daz DeBoer
b579b5c6ad
Update README.md 2024-08-07 16:48:29 -06:00
2 changed files with 4 additions and 7 deletions

View File

@ -14,9 +14,9 @@
> >
> See the [setup-gradle documentation](https://github.com/gradle/actions/tree/main/setup-gradle) for up-to-date documentation for `gradle/actions/setup-gradle`. > See the [setup-gradle documentation](https://github.com/gradle/actions/tree/main/setup-gradle) for up-to-date documentation for `gradle/actions/setup-gradle`.
# Execute Gradle builds in GitHub Actions workflows # Setup Gradle for use 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. This GitHub Action can be used to configure Gradle on any platform supported by GitHub Actions.
## Example usage ## Example usage
@ -32,12 +32,9 @@ jobs:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Gradle - name: Setup Gradle
uses: gradle/gradle-build-action@v3 uses: gradle/actions/setup-gradle@v3
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew build 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](https://github.com/gradle/actions/tree/main/setup-gradle) for more advanced usage scenarios. See the [full setup-gradle documentation](https://github.com/gradle/actions/tree/main/setup-gradle) for more advanced usage scenarios.

View File

@ -1,4 +1,4 @@
name: "Gradle Build Action" name: setup-gradle
description: 'Configures Gradle for GitHub actions, caching state and generating a dependency graph via Dependency Submission.' description: 'Configures Gradle for GitHub actions, caching state and generating a dependency graph via Dependency Submission.'
inputs: inputs: