Skip to content

Commit 1dd586a

Browse files
committed
Add macOS artifact debugging and improve artifact upload paths
- Added debug step to show actual directory structure after macOS build - Updated macOS artifact upload to check both universal-apple-darwin and regular paths - Added if-no-files-found: warn to get better error reporting - This should help identify why macOS artifacts are not being found
1 parent b5833c8 commit 1dd586a

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,19 @@ jobs:
6363
if: matrix.platform == 'macos-latest'
6464
run: npm run tauri build -- --target universal-apple-darwin
6565

66+
- name: Debug macOS artifacts
67+
if: matrix.platform == 'macos-latest'
68+
run: |
69+
echo "=== Checking for macOS build artifacts ==="
70+
find src-tauri/target -name "*.dmg" -o -name "*.app" -o -name "*.pkg" 2>/dev/null || echo "No artifacts found with common extensions"
71+
echo "=== Directory structure ==="
72+
ls -la src-tauri/target/ || echo "target directory not found"
73+
ls -la src-tauri/target/universal-apple-darwin/ 2>/dev/null || echo "universal-apple-darwin directory not found"
74+
ls -la src-tauri/target/universal-apple-darwin/release/ 2>/dev/null || echo "universal-apple-darwin/release directory not found"
75+
ls -la src-tauri/target/universal-apple-darwin/release/bundle/ 2>/dev/null || echo "universal-apple-darwin/release/bundle directory not found"
76+
ls -la src-tauri/target/release/ 2>/dev/null || echo "release directory not found"
77+
ls -la src-tauri/target/release/bundle/ 2>/dev/null || echo "release/bundle directory not found"
78+
6679
- name: Build the app (Windows/Linux)
6780
if: matrix.platform != 'macos-latest'
6881
run: npm run tauri build
@@ -79,7 +92,10 @@ jobs:
7992
uses: actions/upload-artifact@v4
8093
with:
8194
name: macos-artifacts
82-
path: src-tauri/target/release/bundle/
95+
path: |
96+
src-tauri/target/universal-apple-darwin/release/bundle/
97+
src-tauri/target/release/bundle/
98+
if-no-files-found: warn
8399

84100
- name: Upload artifacts (linux)
85101
if: matrix.platform == 'ubuntu-latest'

0 commit comments

Comments
 (0)