[docs] Update README.md
This commit is contained in:
@@ -10,10 +10,14 @@ Creates annotations for warnings and errors in gcc builds.
|
|||||||
|
|
||||||
## Example usage
|
## Example usage
|
||||||
|
|
||||||
Create annotations for builds done in the root directory
|
Create annotations for builds done in the root directory. Add this anywhere before starting the build.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: olemorud/gcc-problem-matcher@v1.0
|
- uses: olemorud/gcc-problem-matcher@v1.0
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
Create annotations for builds done in directory `/workspace/build/`
|
Create annotations for builds done in directory `/workspace/build/`
|
||||||
|
|||||||
Reference in New Issue
Block a user