File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -66,14 +66,16 @@ jobs:
6666 shell : bash
6767 run : |
6868 mkdir -p bundle-artifacts
69- # Find and copy all installer files
69+ # Find and copy all installer files from workspace root target (Tauri outputs here in workspaces)
70+ find target -type f \( -name "*.dmg" -o -name "*.msi" -o -name "*.deb" -o -name "*.rpm" -o -name "*.AppImage" \) -exec cp {} bundle-artifacts/ \;
71+ # Also check keyless-desktop/src-tauri/target (fallback)
7072 find keyless-desktop/src-tauri/target -type f \( -name "*.dmg" -o -name "*.msi" -o -name "*.deb" -o -name "*.rpm" -o -name "*.AppImage" \) -exec cp {} bundle-artifacts/ \;
71- # Also try the expected bundle directory structure
72- if [ -d "keyless-desktop/src-tauri/ target/${{ matrix.target }}/release/bundle" ]; then
73- cp -r keyless-desktop/src-tauri/ target/${{ matrix.target }}/release/bundle/* bundle-artifacts/ 2>/dev/null || true
73+ # Check specific bundle directories
74+ if [ -d "target/${{ matrix.target }}/release/bundle" ]; then
75+ find target/${{ matrix.target }}/release/bundle -type f \( -name "*.dmg" -o -name "*.msi" -o -name "*.deb" -o -name "*.rpm" -o -name "*.AppImage" \) -exec cp {} bundle-artifacts/ \;
7476 fi
75- if [ -d "keyless-desktop/src-tauri/ target/release/bundle" ]; then
76- cp -r keyless-desktop/src-tauri/ target/release/bundle/* bundle-artifacts/ 2>/dev/null || true
77+ if [ -d "target/release/bundle" ]; then
78+ find target/release/bundle -type f \( -name "*.dmg" -o -name "*.msi" -o -name "*.deb" -o -name "*.rpm" -o -name "*.AppImage" \) -exec cp {} bundle-artifacts/ \;
7779 fi
7880 ls -lh bundle-artifacts/ || echo "No bundle artifacts found"
7981
You can’t perform that action at this time.
0 commit comments