diff --git a/.github/workflows/release-tailwindcss-cli.yml b/.github/workflows/release-tailwindcss-cli.yml index 130cee9..f273eb3 100644 --- a/.github/workflows/release-tailwindcss-cli.yml +++ b/.github/workflows/release-tailwindcss-cli.yml @@ -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 diff --git a/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift b/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift index 19f43fd..ac45cd4 100644 --- a/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift +++ b/Sources/TailwindCSSCLIArtifactBundler/ArtifactBundleBuilder+File Operations.swift @@ -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()