Build-wrapper-dump.json not found when using github action

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

Hey there.

sonarsource/sonarcloud-github-action cannot be used to analyze C/C++ code.

Have you followed the tutorial in the SonarCloud UI for analyzing C/C++ code in GitHub Actions?

i’m wondering whether it will be supported in the future version?