fix yaml comments in README's samples

This commit is contained in:
Paul Merlin 2019-09-23 13:00:12 +02:00
parent f9f0422c72
commit dc882d2669

View File

@ -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: