Code review: Assume unset SONAR_HOST_URL to be https://sonarcloud.io

This commit is contained in:
Antonio Aversa 2024-12-12 11:23:13 +01:00
parent 0922e3a371
commit fe5b156c90
2 changed files with 14 additions and 0 deletions

View file

@ -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:

View file

@ -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