Skip to content

Commit 89ff9ad

Browse files
fix: fix macos file path
1 parent d1bbb82 commit 89ff9ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/Tauri-Release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ jobs:
113113
# The '|| true' prevents the workflow from failing if a specific file type doesn't exist
114114
find artifacts -type f \( -name "*.deb" -o -name "*.AppImage" -o -name "*.msi" -o -name "*.dmg" \) -exec cp {} release-assets/ \; || true
115115
116-
# For macOS, we also zip the .app bundle for easier distribution
117-
if [ -d "artifacts/Tauri Build Artifacts (macos-latest)/app" ]; then
118-
cd artifacts/Tauri\ Build\ Artifacts\ \(macos-latest\)/app
116+
if [ -d "artifacts/Tauri Build Artifacts (macos-latest)/src-tauri/target/release/bundle/macos" ]; then
117+
cd "artifacts/Tauri Build Artifacts (macos-latest)/src-tauri/target/release/bundle/macos"
119118
for app in *.app; do
120119
zip -r "../../../release-assets/${app%.app}.zip" "$app"
121120
done

0 commit comments

Comments
 (0)