Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit f369c8b

Browse files
Stabilize release workflow SwiftPM cache
Clear SwiftPM artifact state before signed macOS builds and ignore the local swift-permissions build directory to keep package state out of the repo.
1 parent 2a04454 commit f369c8b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ jobs:
8989
cert_id="$(echo "$cert_info" | awk -F'"' '{print $2}')"
9090
echo "identity=$cert_id" >> "$GITHUB_OUTPUT"
9191
92+
- name: Reset SwiftPM artifacts
93+
run: |
94+
rm -rf "$HOME/Library/Caches/org.swift.swiftpm/artifacts"
95+
rm -rf src-tauri/swift-permissions/.build
96+
9297
- name: Build signed release bundles
9398
env:
9499
APPLE_ID: ${{ secrets.APPLE_ID }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dist-ssr
1414
latest.json
1515
src-tauri/target
1616
src-tauri/gen
17+
src-tauri/swift-permissions/.build
1718
.codex/
1819

1920
# Editor directories and files

0 commit comments

Comments
 (0)