Skip to content

Commit

Permalink
.tar.xz
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynunez authored Jan 18, 2025
1 parent 6db116d commit b37813a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/scripts/ti_build/dep.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ def download_dep(url, outdir, *, strip=0, force=False, args=None, plain=False, e
elif name.endswith(".tar.gz") or name.endswith(".tgz"):
outdir.mkdir(parents=True, exist_ok=True)
tar("-xzf", local_cached, "-C", outdir, f"--strip-components={strip}")
elif name.endswith(".tar.xz"):
outdir.mkdir(parents=True, exist_ok=True)
tar("-xJf", local_cached, "-C", outdir, f"--strip-components={strip}")
elif name.endswith(".sh"):
bash(local_cached, *args)
elif "." not in name and args is not None:
Expand Down

0 comments on commit b37813a

Please sign in to comment.