Skip to content

Commit 15fb75b

Browse files
authored
d
1 parent 03da749 commit 15fb75b

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,27 +82,34 @@ jobs:
8282
- name: List build output (debug)
8383
run: |
8484
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"
85+
find src-tauri/target -name "*.dmg" -o -name "*.app" -o -name "*.msi" -o -name "*.exe" | grep -E "\.(dmg|app|msi)$|CodeForge.*\.exe$" | head -20
86+
echo "=== Target directories ==="
87+
ls -la src-tauri/target/ || echo "Target directory not found"
88+
echo "=== Bundle directories ==="
89+
find src-tauri/target -name "bundle" -type d | head -10
8890
shell: bash
8991

9092
- name: Upload build artifacts (macOS)
9193
if: matrix.platform == 'macos-latest'
9294
uses: actions/upload-artifact@v4
9395
with:
9496
name: release-${{ matrix.os }}
95-
path: src-tauri/target/**/bundle/**/*.{dmg,app}
97+
path: |
98+
src-tauri/target/universal-apple-darwin/release/bundle/dmg/*.dmg
99+
src-tauri/target/universal-apple-darwin/release/bundle/macos/*.app
96100
retention-days: 30
97101

98102
- name: Upload build artifacts (Windows)
99103
if: matrix.platform == 'windows-latest'
100104
uses: actions/upload-artifact@v4
101105
with:
102106
name: release-${{ matrix.os }}
103-
path: src-tauri/target/**/bundle/**/*.{msi,exe}
107+
path: |
108+
src-tauri/target/x86_64-pc-windows-msvc/release/bundle/msi/*.msi
109+
src-tauri/target/x86_64-pc-windows-msvc/release/bundle/nsis/*.exe
104110
retention-days: 30
105111

112+
106113
# 创建或更新 GitHub Release
107114
create-release:
108115
name: Create Release

0 commit comments

Comments
 (0)