fix: download and install sonar-scanner
This commit is contained in:
parent
555f62d72b
commit
89d8b108cd
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ jobs:
|
||||||
- name: Install Java and Sonar Scanner
|
- name: Install Java and Sonar Scanner
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache nodejs npm curl openjdk17-jre unzip
|
apk add --no-cache nodejs npm curl openjdk17-jre unzip
|
||||||
|
curl -sSLo /tmp/sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.1.4610.zip
|
||||||
|
unzip -q /tmp/sonar-scanner-cli.zip -d /opt
|
||||||
|
rm /tmp/sonar-scanner-cli.zip
|
||||||
ls -la /opt/
|
ls -la /opt/
|
||||||
ln -sf /opt/sonar-scanner-6.2.1.4610/bin/sonar-scanner /usr/local/bin/sonar-scanner
|
ln -sf /opt/sonar-scanner-6.2.1.4610/bin/sonar-scanner /usr/local/bin/sonar-scanner
|
||||||
which sonar-scanner
|
which sonar-scanner
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue