hello all,
our project want to use github action for c++ analysis, the github action is like the following, with the script following, the build-wrapper-dump.json were not correctly generated. And our build command is using a command like: sh build.sh --clean or sh build.sh,i want to know how to run a command with an option like build-wrapper-param: sh build.sh --clean???
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
projectBaseDir: ${{github.workspace}}
args: >
-Dsonar.organization=dulong41
-Dsonar.projectKey=dulong41_starrocks
-Dsonar.sources=be/
-Dsonar.cfamily.build-wrapper-output=${{ github.workspace }}/bw-output
-Dsonar.cfamily.gcov.reportsPath=ctest