File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,27 @@ jobs:
6262 - name : Build desktop (release)
6363 run : pnpm -C keyless-desktop tauri build --target ${{ matrix.target }}
6464
65+ - name : Prepare bundle artifacts
66+ shell : bash
67+ run : |
68+ mkdir -p bundle-artifacts
69+ # Find and copy all installer files
70+ 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
74+ 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+ fi
78+ ls -lh bundle-artifacts/ || echo "No bundle artifacts found"
79+
6580 - name : Upload artifact
6681 uses : actions/upload-artifact@v5
6782 with :
6883 name : ${{ matrix.artifact }}
69- path : |
70- keyless-desktop/src-tauri/target/${{ matrix.target }}/release/bundle/**
84+ path : bundle-artifacts/**
85+ if-no-files-found : warn
7186
7287 release :
7388 name : Create Desktop App Release
You can’t perform that action at this time.
0 commit comments