File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1245,8 +1245,8 @@ class BinaryControl {
12451245 core.info(`Downloaded Path: ${downloadPath}`);
12461246 const extractedPath = await tc.extractZip(downloadPath, this.binaryFolder);
12471247 core.info(`BrowserStackLocal binary downloaded & extracted successfuly at: ${extractedPath}`);
1248- // const cachedPath = await tc.cacheDir(extractedPath, LOCAL_BINARY_NAME, '1.0.0');
1249- // core.addPath(cachedPath);
1248+ const cachedPath = await tc.cacheDir(extractedPath, LOCAL_BINARY_NAME, '1.0.0');
1249+ core.addPath(cachedPath);
12501250 } catch (e) {
12511251 throw Error(`BrowserStackLocal binary could not be downloaded due to ${e.message}`);
12521252 }
Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ class BinaryControl {
180180 core . info ( `Downloaded Path: ${ downloadPath } ` ) ;
181181 const extractedPath = await tc . extractZip ( downloadPath , this . binaryFolder ) ;
182182 core . info ( `BrowserStackLocal binary downloaded & extracted successfuly at: ${ extractedPath } ` ) ;
183- // const cachedPath = await tc.cacheDir(extractedPath, LOCAL_BINARY_NAME, '1.0.0');
184- // core.addPath(cachedPath);
183+ const cachedPath = await tc . cacheDir ( extractedPath , LOCAL_BINARY_NAME , '1.0.0' ) ;
184+ core . addPath ( cachedPath ) ;
185185 } catch ( e ) {
186186 throw Error ( `BrowserStackLocal binary could not be downloaded due to ${ e . message } ` ) ;
187187 }
You can’t perform that action at this time.
0 commit comments