File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,14 +103,20 @@ jobs:
103103 - name : Self-sign macOS app
104104 if : matrix.platform == 'macos-latest'
105105 run : |
106- # Find the app bundle
107- APP_PATH=$(find . -name "GithubSecurityAlerts.app" -type d | head -1)
106+ # Find the app bundle in the release directory
107+ APP_PATH=$(find src-tauri/target/*/release/bundle/macos -name "*.app" -type d | head -1)
108+ if [ -z "$APP_PATH" ]; then
109+ # Try alternative path
110+ APP_PATH=$(find . -path "*/target/*/release/bundle/macos/*.app" -type d | head -1)
111+ fi
112+
108113 if [ -n "$APP_PATH" ]; then
109114 echo "Self-signing app at: $APP_PATH"
110115 codesign --deep --force --verify --verbose --sign - "$APP_PATH"
111116 echo "App signed successfully"
112117 else
113- echo "App bundle not found"
118+ echo "App bundle not found, listing directories:"
119+ find src-tauri/target -type d -name "bundle" 2>/dev/null | head -5
114120 fi
115121
116122 - name : Build Tauri app (non-macOS)
You can’t perform that action at this time.
0 commit comments