mirror of
https://github.com/gradle/gradle-build-action
synced 2024-11-23 18:12:15 +00:00
fix yaml comments in README's samples
This commit is contained in:
parent
f9f0422c72
commit
dc882d2669
1 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ The following workflow will run `gradle build` using the wrapper from the reposi
|
||||||
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
// .github/workflows/gradle-build-pr.yml
|
# .github/workflows/gradle-build-pr.yml
|
||||||
name: Run Gradle on PRs
|
name: Run Gradle on PRs
|
||||||
on: pull-request
|
on: pull-request
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -100,7 +100,7 @@ Moreover, you can use the following aliases:
|
||||||
This can be handy to, for example, 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
|
```yaml
|
||||||
// .github/workflows/test-gradle-rc.yml
|
# .github/workflows/test-gradle-rc.yml
|
||||||
name: Test latest Gradle RC
|
name: Test latest Gradle RC
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
|
@ -128,7 +128,7 @@ You can then use that link in subsequent actions of your workflow.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
// .github/workflows/gradle-build-pr.yml
|
# .github/workflows/gradle-build-pr.yml
|
||||||
name: Run Gradle on PRs
|
name: Run Gradle on PRs
|
||||||
on: pull-request
|
on: pull-request
|
||||||
jobs:
|
jobs:
|
||||||
|
|
Loading…
Reference in a new issue