fix: Bump Swift setup to v3 and fix zip invocation
Some checks are pending
CI / Test on Linux (push) Waiting to run
CI / Test on Linux-1 (push) Waiting to run
CI / Test on macOS (push) Waiting to run
CI / Test on macOS-1 (push) Waiting to run

This commit is contained in:
Shibo Lyu 2026-01-20 21:51:56 +08:00
parent 01dbb546de
commit b2f310dd20
2 changed files with 2 additions and 4 deletions

View file

@ -22,13 +22,11 @@ extension ArtifactBundleBuilder {
}
let bundleDirURL = URL(fileURLWithPath: bundleDir)
let workDirURL = bundleDirURL.deletingLastPathComponent()
let bundleName = bundleDirURL.lastPathComponent
let process = Process()
process.executableURL = URL(fileURLWithPath: "/usr/bin/zip")
process.arguments = ["-r", zipPath, bundleName]
process.currentDirectoryURL = workDirURL
try process.run()
process.waitUntilExit()