Skip to content

Commit

Permalink
Changed build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alpertron committed Jan 29, 2024
1 parent 6538f7b commit 871685b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -31,6 +33,11 @@ jobs:
./coverage
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
with:
args: >
-D sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}"
-D sonar.coverageReportPaths=coverage.xml
-D sonar.cfamily.cache.enabled=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit 871685b

Please sign in to comment.