refine readme

This commit is contained in:
Paul Merlin 2019-09-23 12:10:22 +02:00
parent 8337949d80
commit f943246fd9

View File

@ -6,7 +6,9 @@ You might also be interested by the related [Gradle Plugin](https://github.com/e
## Usage
The following workflow will run `gradle build` using the wrapper from the repository on ubuntu, macos and windows:
The following workflow will run `gradle build` using the wrapper from the repository on ubuntu, macos and windows. The only prerequisite is to have Java installed, you can define the version you need to run the build using the `actions/setup-java` action.
```yaml
// .github/workflows/gradle-build-pr.yml
@ -95,7 +97,7 @@ Moreover, you can use the following aliases:
| `nightly` | The latest [nightly](https://gradle.org/nightly/), fails if none. |
| `release-nightly` | The latest [release nightly](https://gradle.org/release-nightly/), fails if none. |
This can be handy to automatically test your build with the next Gradle version once a release candidate is out:
This can be handy to, for example, automatically test your build with the next Gradle version once a release candidate is out:
```yaml
// .github/workflows/test-gradle-rc.yml