Skip to content

Commit 5d0284a

Browse files
committed
Update path of sonar-scanner-cli
1 parent 8ebca15 commit 5d0284a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sonar-scan.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
2>/dev/null | cut -f8 -d'/'`
1919
SONAR_DOWNLOAD_PATH=https://binaries.sonarsource.com/Distribution/sonar-scanner-cli
2020
curl --create-dirs -sSLo $HOME/.sonar/sonar-scanner.zip \
21-
$SONAR_DOWNLOAD_PATH/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux.zip
21+
$SONAR_DOWNLOAD_PATH/sonar-scanner-cli-$SONAR_SCANNER_VERSION-linux-x64.zip
2222
unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/
2323
curl --create-dirs -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip \
2424
https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
2525
unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/
26-
SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux
26+
SONAR_SCANNER_HOME=$HOME/.sonar/sonar-scanner-$SONAR_SCANNER_VERSION-linux-x64
2727
echo "SONAR_SCANNER_VERSION=$SONAR_SCANNER_VERSION" >> $GITHUB_ENV
2828
echo "SONAR_SCANNER_HOME=$SONAR_SCANNER_HOME" >> $GITHUB_ENV
2929
echo "SONAR_SCANNER_OPTS=-server" >> $GITHUB_ENV

0 commit comments

Comments
 (0)