mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-16 19:08:28 +00:00
Code review: Assume unset SONAR_HOST_URL to be https://sonarcloud.io
This commit is contained in:
parent
0922e3a371
commit
fe5b156c90
2 changed files with 14 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue