Skip to content

Commit 03da749

Browse files
authored
dd
1 parent 0d577a5 commit 03da749

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,28 @@ jobs:
7979
- name: Build application
8080
run: pnpm tauri build --target ${{ matrix.target }}
8181

82+
- name: List build output (debug)
83+
run: |
84+
echo "=== Build output structure ==="
85+
find src-tauri/target -name "*.dmg" -o -name "*.app" -o -name "*.msi" -o -name "*.exe" | head -20
86+
echo "=== Bundle directory ==="
87+
ls -la src-tauri/target/release/bundle/ || echo "Bundle directory not found"
88+
shell: bash
89+
8290
- name: Upload build artifacts (macOS)
8391
if: matrix.platform == 'macos-latest'
8492
uses: actions/upload-artifact@v4
8593
with:
8694
name: release-${{ matrix.os }}
87-
path: |
88-
src-tauri/target/release/bundle/dmg/
89-
src-tauri/target/release/bundle/macos/
95+
path: src-tauri/target/**/bundle/**/*.{dmg,app}
9096
retention-days: 30
9197

9298
- name: Upload build artifacts (Windows)
9399
if: matrix.platform == 'windows-latest'
94100
uses: actions/upload-artifact@v4
95101
with:
96102
name: release-${{ matrix.os }}
97-
path: |
98-
src-tauri/target/release/bundle/msi/
99-
src-tauri/target/release/bundle/nsis/
103+
path: src-tauri/target/**/bundle/**/*.{msi,exe}
100104
retention-days: 30
101105

102106
# 创建或更新 GitHub Release

0 commit comments

Comments
 (0)