mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-04-29 16:18:52 +00:00
SQSCANGHA-112 SQSCANGHA-113 Fixes from review and keytool refactor
This commit is contained in:
parent
60aee7033b
commit
a64281002c
5 changed files with 195 additions and 172 deletions
|
|
@ -23,7 +23,7 @@ export async function installSonarScanner({
|
|||
let toolDir = tc.find(TOOLNAME, scannerVersion, flavor);
|
||||
|
||||
if (!toolDir) {
|
||||
console.log(
|
||||
core.info(
|
||||
`Installing Sonar Scanner CLI ${scannerVersion} for ${flavor}...`
|
||||
);
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ export async function installSonarScanner({
|
|||
flavor,
|
||||
});
|
||||
|
||||
console.log(`Downloading from: ${downloadUrl}`);
|
||||
core.info(`Downloading from: ${downloadUrl}`);
|
||||
|
||||
const downloadPath = await tc.downloadTool(downloadUrl);
|
||||
const extractedPath = await tc.extractZip(downloadPath);
|
||||
|
|
@ -46,9 +46,9 @@ export async function installSonarScanner({
|
|||
|
||||
toolDir = await tc.cacheDir(scannerPath, TOOLNAME, scannerVersion, flavor);
|
||||
|
||||
console.log(`Sonar Scanner CLI cached to: ${toolDir}`);
|
||||
core.info(`Sonar Scanner CLI cached to: ${toolDir}`);
|
||||
} else {
|
||||
console.log(`Using cached Sonar Scanner CLI from: ${toolDir}`);
|
||||
core.info(`Using cached Sonar Scanner CLI from: ${toolDir}`);
|
||||
}
|
||||
|
||||
// Add the bin directory to PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue