Skip to content

Commit 0629ee4

Browse files
felixfelix
authored andcommitted
ci(release): fix artifact glob paths
1 parent fdae25c commit 0629ee4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
uses: actions/upload-artifact@v4
113113
with:
114114
name: mac-artifacts-${{ matrix.arch }}
115-
path: release/*.dmg
115+
path: release/**/Voice*-Mac-*.dmg
116116
if-no-files-found: error
117117

118118
# 3. 构建 Windows
@@ -141,7 +141,7 @@ jobs:
141141
uses: actions/upload-artifact@v4
142142
with:
143143
name: win-artifacts
144-
path: release/*Setup.exe
144+
path: release/**/Voice*-Windows-*-Setup.exe
145145
if-no-files-found: error
146146

147147
# 4. 发布 Release
@@ -169,8 +169,8 @@ jobs:
169169
draft: false
170170
prerelease: false
171171
files: |
172-
artifacts/*.dmg
173-
artifacts/*Setup.exe
172+
artifacts/Voice*-Mac-*.dmg
173+
artifacts/Voice*-Windows-*-Setup.exe
174174
body: |
175175
## 🎉 新版本发布!
176176

0 commit comments

Comments
 (0)