diff --git a/deprecated-c-cpp/action.yml b/deprecated-c-cpp/action.yml index 4f967d6..a1e420f 100644 --- a/deprecated-c-cpp/action.yml +++ b/deprecated-c-cpp/action.yml @@ -30,6 +30,13 @@ runs: shell: bash run: brew install coreutils + - name: Set SONAR_HOST_URL to 'https://sonarcloud.io' + if: env.SONAR_HOST_URL == '' + shell: bash + run: | + echo "Setting SONAR_HOST_URL to 'https://sonarcloud.io'" + echo "SONAR_HOST_URL=https://sonarcloud.io" >> $GITHUB_ENV + - name: Verify and create installation path shell: bash env: diff --git a/install-build-wrapper/action.yml b/install-build-wrapper/action.yml index 568feb9..65a457b 100644 --- a/install-build-wrapper/action.yml +++ b/install-build-wrapper/action.yml @@ -19,6 +19,13 @@ runs: shell: bash run: brew install coreutils + - name: Set SONAR_HOST_URL to 'https://sonarcloud.io' + if: env.SONAR_HOST_URL == '' + shell: bash + run: | + echo "Setting SONAR_HOST_URL to 'https://sonarcloud.io'" + echo "SONAR_HOST_URL=https://sonarcloud.io" >> $GITHUB_ENV + - name: Configure paths id: configure_paths shell: bash