mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2025-12-16 10:58: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
|
shell: bash
|
||||||
run: brew install coreutils
|
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
|
- name: Verify and create installation path
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,13 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: brew install coreutils
|
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
|
- name: Configure paths
|
||||||
id: configure_paths
|
id: configure_paths
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue