Skip to content

Commit 972524e

Browse files
committed
platform testing
1 parent 5ed1e69 commit 972524e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6724,7 +6724,8 @@ async function downloadCLI(osPlatform){
67246724
case 'win32':
67256725
return await tc.extractZip(await tc.downloadTool(url));
67266726
case 'darwin':
6727-
let tmpPath = await tc.extractXar(await tc.downloadTool(url));
6727+
// let tmpPath = await tc.extractXar(await tc.downloadTool(url));
6728+
let tmpPath = await tc.downloadTool(url);
67286729
core.info(`extracting mac pkg in ${tmpPath}...`);
67296730
const installPath = '/Users/runner/work/_temp/stackql';
67306731
execSync(`pkgutil --expand-full ${tmpPath} ${installPath}`);

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ async function downloadCLI(osPlatform){
2222
case 'win32':
2323
return await tc.extractZip(await tc.downloadTool(url));
2424
case 'darwin':
25-
let tmpPath = await tc.extractXar(await tc.downloadTool(url));
25+
// let tmpPath = await tc.extractXar(await tc.downloadTool(url));
26+
let tmpPath = await tc.downloadTool(url);
2627
core.info(`extracting mac pkg in ${tmpPath}...`);
2728
const installPath = '/Users/runner/work/_temp/stackql';
2829
execSync(`pkgutil --expand-full ${tmpPath} ${installPath}`);

0 commit comments

Comments
 (0)