fix: binary installation for FreeBSD (#1415)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
biancalana
2026-08-20 23:51:25 +00:00
committed by GitHub
parent c3ef4a2b0b
commit 3de4be9e74
3 changed files with 3 additions and 3 deletions

2
dist/post_run/index.js generated vendored
View File

@@ -69112,7 +69112,7 @@ async function installBin(versionInfo) {
else {
// We want to always overwrite files if the local cache already has them
const args = ["xz"];
if (process.platform.toString() != "darwin") {
if (!["darwin", "freebsd"].includes(process.platform.toString())) {
args.push("--overwrite");
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args);

2
dist/run/index.js generated vendored
View File

@@ -69112,7 +69112,7 @@ async function installBin(versionInfo) {
else {
// We want to always overwrite files if the local cache already has them
const args = ["xz"];
if (process.platform.toString() != "darwin") {
if (!["darwin", "freebsd"].includes(process.platform.toString())) {
args.push("--overwrite");
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args);

View File

@@ -145,7 +145,7 @@ async function installBin(versionInfo: VersionInfo): Promise<string> {
} else {
// We want to always overwrite files if the local cache already has them
const args = ["xz"]
if (process.platform.toString() != "darwin") {
if (!["darwin", "freebsd"].includes(process.platform.toString())) {
args.push("--overwrite")
}
extractedDir = await tc.extractTar(archivePath, process.env.HOME, args)