Add more error handling to zstd extraction
This commit is contained in:
parent
d57328a17b
commit
d5bcf48469
6 changed files with 49 additions and 37 deletions
2
lib/tools-download.js
generated
2
lib/tools-download.js
generated
|
|
@ -119,7 +119,7 @@ function getToolcacheDirectory(version) {
|
|||
function writeToolcacheMarkerFile(extractedPath, logger) {
|
||||
const markerFilePath = `${extractedPath}.complete`;
|
||||
fs.writeFileSync(markerFilePath, "");
|
||||
logger.debug(`Wrote marker file to ${markerFilePath}`);
|
||||
logger.info(`Wrote toolcache marker file to ${markerFilePath}`);
|
||||
}
|
||||
function sanitizeUrlForStatusReport(url) {
|
||||
return ["github/codeql-action", "dsp-testing/codeql-cli-nightlies"].some((repo) => url.startsWith(`https://github.com/${repo}/releases/download/`))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue