Skip to content

Commit 22b40d4

Browse files
committed
fix: tar extract flags under xz mode
Signed-off-by: Sam Gammon <[email protected]>
1 parent 07b54b9 commit 22b40d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/releases.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ async function unpackRelease(
186186
// now we should have a file at `{name}.tar` instead of `{name}.txz`
187187
const tarball = `${archiveBasename}.tar`
188188
core.debug(`Extracting decompressed tarball: ${tarball}`)
189-
return toolCache.extractTar(tarball, toolHome)
189+
return toolCache.extractTar(tarball, toolHome, 'x')
190190
} else if (archiveType === ArchiveType.GZIP) {
191191
core.debug(
192192
`Extracting as tgz on Unix or Linux, from: ${archive}, to: ${toolHome}`

0 commit comments

Comments
 (0)