Fixes wrong Conan used in generate_offline_dependencies

This commit is contained in:
Dmitry Vedenko 2022-11-08 17:16:53 +03:00
parent 1338fcfb8e
commit 92032a4edd
No known key found for this signature in database
GPG Key ID: F4C37A6204F983A2
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -25,7 +25,7 @@ async function downloadConan(version) {
fs.copyFileSync(cached_path, conan_path);
console.log(conan_path);
console.log(`Copied ${cached_path} to ${conan_path}`);
fs.chmodSync(conan_path, '755');
return conan_path;
}
@ -35,7 +35,7 @@ async function prepareEnvironment() {
core.exportVariable('CONAN_USER_HOME', conanCacheLocation);
await helpers.execWithLog('conan', [
await helpers.execWithLog(conan, [
'config', 'init'
]);