mirror of
https://github.com/laosb/SwiftTailwind.git
synced 2026-03-01 16:48:22 +00:00
fix: Bump Swift setup to v3 and fix zip invocation
This commit is contained in:
parent
01dbb546de
commit
b2f310dd20
2 changed files with 2 additions and 4 deletions
|
|
@ -20,9 +20,9 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Swift
|
||||
uses: swift-actions/setup-swift@v2
|
||||
uses: swift-actions/setup-swift@v3
|
||||
with:
|
||||
swift-version: "6.1"
|
||||
swift-version: "6.2"
|
||||
|
||||
- name: Cache Swift packages
|
||||
uses: actions/cache@v4
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue