Skip to content

Commit

Permalink
fix: use xz decompression
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Aug 23, 2020
1 parent e978a3d commit 0468199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-llvm/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ async function execute(cmd) {
let llvmCachedPath = tc.find("llvm", "8.0.1", "linux");
if(!llvmCachedPath) {
llvmCachedPath = await tc.downloadTool("https://github.com/mun-lang/build-support/releases/download/llvm-8.0.1/llvm-8.0.1-ubuntu-12.04-bionic.tar.xz")
.then(downloadPath => tc.extractTar(downloadPath, null))
.then(downloadPath => tc.extractTar(downloadPath, null, "xJ"))
.then(extractPath => tc.cacheDir(extractPath, "llvm", "8.0.1", "linux"));
}
core.addPath(`${llvmCachedPath}/bin`)
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-llvm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function execute(cmd) {
let llvmCachedPath = tc.find("llvm", "8.0.1", "linux");
if(!llvmCachedPath) {
llvmCachedPath = await tc.downloadTool("https://github.com/mun-lang/build-support/releases/download/llvm-8.0.1/llvm-8.0.1-ubuntu-12.04-bionic.tar.xz")
.then(downloadPath => tc.extractTar(downloadPath, null))
.then(downloadPath => tc.extractTar(downloadPath, null, "xJ"))
.then(extractPath => tc.cacheDir(extractPath, "llvm", "8.0.1", "linux"));
}
core.addPath(`${llvmCachedPath}/bin`)
Expand Down

0 comments on commit 0468199

Please sign in to comment.