Skip to content

Commit

Permalink
SC-5971 point to v1 tage in Readme (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
nawar-hamo-sonarsource authored Nov 16, 2022
1 parent 966e972 commit af83de0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Install sonar-scanner and build-wrapper
uses: sonarsource/sonarcloud-github-c-cpp-addition@master
uses: sonarsource/sonarcloud-github-c-cpp-addition@v1
- name: Run build-wrapper
run: |
#here goes your compilation wrapped with build-wrapper; See https://docs.sonarcloud.io/advanced-setup/languages/c-c-objective-c/#analysis-steps-using-build-wrapper for more information
Expand All @@ -68,15 +68,15 @@ jobs:
You can change the `build-wrapper` and `sonar-scanner` installation path by using the optional input `installation-path` like this:

```yaml
uses: sonarsource/sonarcloud-github-c-cpp-addition@master
uses: sonarsource/sonarcloud-github-c-cpp-addition@v1
with:
installation-path: my/custom/directory/path
```
Also, the absolute paths to the installed build-wrapper and sonar-scanner binaries are returned as outputs from the action.

Moreover, by default the action will cache sonar-scanner installation. However, you can disable caching by using the optional input: `cache-binaries` like this:
```yaml
uses: sonarsource/sonarcloud-github-c-cpp-addition@master
uses: sonarsource/sonarcloud-github-c-cpp-addition@v1
with:
cache-binaries: false
```
Expand Down

0 comments on commit af83de0

Please sign in to comment.