Skip to content

Commit 25cd2f6

Browse files
fazxesclaude
andcommitted
ci: add debug step to find DMG location
Add find/ls commands to see what Tauri actually outputs. Also add .app to artifact paths and use if-no-files-found: warn. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent df5f566 commit 25cd2f6

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,13 +368,25 @@ jobs:
368368
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
369369
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
370370

371+
# Debug: List bundle output to find actual DMG location
372+
- name: List bundle output
373+
run: |
374+
echo "=== Listing src-tauri/target structure ==="
375+
find src-tauri/target -name "*.dmg" -o -name "*.app" 2>/dev/null || echo "No .dmg or .app found"
376+
echo ""
377+
echo "=== Listing bundle directory if exists ==="
378+
ls -laR src-tauri/target/release/bundle/ 2>/dev/null || echo "No bundle directory at target/release/bundle/"
379+
ls -laR src-tauri/target/aarch64-apple-darwin/release/bundle/ 2>/dev/null || echo "No bundle directory at target/aarch64-apple-darwin/release/bundle/"
380+
371381
# Upload DMG artifact
372-
# Note: Native builds output to target/release/, not target/<triple>/release/
373382
- name: Upload DMG
374383
uses: actions/upload-artifact@v6
375384
with:
376385
name: Snowflake-macOS-arm64-${{ github.sha }}
377-
path: src-tauri/target/release/bundle/dmg/*.dmg
386+
path: |
387+
src-tauri/target/release/bundle/dmg/*.dmg
388+
src-tauri/target/release/bundle/macos/*.app
389+
if-no-files-found: warn
378390
retention-days: 7
379391

380392
# ============================================

0 commit comments

Comments
 (0)