Skip to content

Commit 1e6f721

Browse files
committed
Use extractZip for everything
1 parent ef3f5d2 commit 1e6f721

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1483,7 +1483,7 @@ function run() {
14831483
case 'linux': {
14841484
const toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_linux_amd64.zip`;
14851485
const downloadPath = yield tc.downloadTool(toolUrl);
1486-
const extPath = yield tc.extractTar(downloadPath);
1486+
const extPath = yield tc.extractZip(downloadPath);
14871487
const cachedPath = yield tc.cacheDir(extPath, 'sqlc', version);
14881488
core.addPath(cachedPath);
14891489
break;

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async function run(): Promise<void> {
3232
case 'linux': {
3333
const toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_linux_amd64.zip`
3434
const downloadPath = await tc.downloadTool(toolUrl)
35-
const extPath = await tc.extractTar(downloadPath)
35+
const extPath = await tc.extractZip(downloadPath)
3636
const cachedPath = await tc.cacheDir(extPath, 'sqlc', version)
3737
core.addPath(cachedPath)
3838
break

0 commit comments

Comments
 (0)