# The new release of GitHub action for SonarQube v.4.2 - Server and Cloud

**URL:** <https://community.sonarsource.com/t/the-new-release-of-github-action-for-sonarqube-v-4-2-server-and-cloud/132269>\
**Category:** Releases\
**Tags:** github-actions, github, sonarqube, sonarqube-cloud\
**Created:** [December 17, 2024, 10:47am UTC](https://community.sonarsource.com/t/the-new-release-of-github-action-for-sonarqube-v-4-2-server-and-cloud/132269 "2024-12-17T10:47:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonio.aversa](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/antonio.aversa/32/40757_2.png) [@antonio.aversa](https://community.sonarsource.com/u/antonio.aversa)\
**Post date:** [December 17, 2024, 10:47am UTC](https://community.sonarsource.com/t/the-new-release-of-github-action-for-sonarqube-v-4-2-server-and-cloud/132269/1 "2024-12-17T10:47:12Z")

</div>

Hello SonarQube users!

Exciting news! We are happy to announce that we have just released a new minor version of the GitHub action for SonarQube - `v4.2`.

The previous version `v4.1` made this GitHub action **the official entrypoint for both SonarQube Server and SonarQube Cloud** , replacing `sonarcloud-github-action`.

The new version `v4.2` brings **support for C, C++, and Objective-C projects** , replacing both `sonarqube-github-c-cpp` and `sonarcloud-github-c-cpp`.

As for the previous C++ specific actions, this action supports both AutoConfig scenarios, as well as scenarios where Build Wrapper is required.

To install Build Wrapper, a new `sonarqube-scan-action/install-build-wrapper` sub-action is provided.

Check [the README](https://github.com/SonarSource/sonarqube-scan-action/tree/v4.2.1) for more details and examples of configuration.

On top of C, C++, and Objective-C support, we have also improved our support of self-hosted GitHub runners:

- we don’t expect anymore the temporary runner folder (`RUNNER_TEMP`) to be cleaned after every job execution: if present, the action will clean it, before running
- similarly, we don’t expect anymore the Sonar SSL truststore file (`~/sonar/ssl/truststore.p12`) to be cleaned after every job execution: if present, the action will clean it (removing the `sonar` alias from it), before running

For further information, you can look at [the release notes on GitHub](https://github.com/SonarSource/sonarqube-scan-action/releases/tag/v4.2.0) or at [the entry page of the action in the GitHub Marketplace](https://github.com/marketplace/actions/official-sonarqube-scan?version=v4.2.1).

Best regards,  
Antonio
