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 {
1245
1245
core.info(`Downloaded Path: ${downloadPath}`);
1246
1246
const extractedPath = await tc.extractZip(downloadPath, this.binaryFolder);
1247
1247
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);
1250
1250
} catch (e) {
1251
1251
throw Error(`BrowserStackLocal binary could not be downloaded due to ${e.message}`);
1252
1252
}
Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ class BinaryControl {
180
180
core . info ( `Downloaded Path: ${ downloadPath } ` ) ;
181
181
const extractedPath = await tc . extractZip ( downloadPath , this . binaryFolder ) ;
182
182
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 ) ;
185
185
} catch ( e ) {
186
186
throw Error ( `BrowserStackLocal binary could not be downloaded due to ${ e . message } ` ) ;
187
187
}
You can’t perform that action at this time.
0 commit comments