Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gradle/gradle-build-action
Execute your Gradle build and trigger dependency submission
https://github.com/gradle/gradle-build-action
dependency-management dependency-submission github-actions gradle gradle-bt gradle-bt-core-runtime
Last synced: 6 days ago
JSON representation
Execute your Gradle build and trigger dependency submission
- Host: GitHub
- URL: https://github.com/gradle/gradle-build-action
- Owner: gradle
- License: mit
- Created: 2019-09-20T21:06:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T11:22:01.000Z (5 months ago)
- Last Synced: 2024-10-29T14:58:55.303Z (3 months ago)
- Topics: dependency-management, dependency-submission, github-actions, gradle, gradle-bt, gradle-bt-core-runtime
- Homepage: https://github.com/marketplace/actions/gradle-build-action
- Size: 79.9 MB
- Stars: 674
- Watchers: 16
- Forks: 97
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
> [!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](https://github.com/gradle/actions/tree/main/setup-gradle) 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
```yaml
name: Buildon: [ 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](https://github.com/gradle/actions/tree/main/setup-gradle) for more advanced usage scenarios.