Skip to content

Commit

Permalink
Code review: Assume unset SONAR_HOST_URL to be https://sonarcloud.io
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioaversa committed Dec 12, 2024
1 parent 0922e3a commit e2fbcf3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deprecated-c-cpp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ runs:
shell: bash
run: brew install coreutils

- name: Set SONAR_HOST_URL to 'https://sonarcloud.io'
if: env.SONAR_HOST_URL == ''
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:
Expand Down
6 changes: 6 additions & 0 deletions install-build-wrapper/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ runs:
shell: bash
run: brew install coreutils

- name: Set SONAR_HOST_URL to 'https://sonarcloud.io'
if: env.SONAR_HOST_URL == ''
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
Expand Down

0 comments on commit e2fbcf3

Please sign in to comment.