Skip to content

Commit 8522856

Browse files
committed
fix artifact upload
1 parent 367ca79 commit 8522856

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/dev_package_and_upload.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ jobs:
182182
with:
183183
name: ${{ runner.os }}-${{ runner.arch }}-${{ github.event.inputs.test && 'test-' || '' }}artifact
184184
path: |
185-
./dist/*
185+
dist/* # 匹配所有带扩展名的文件
186+
!dist/*/
186187
retention-days: 14
187188
if-no-files-found: warn
188189
overwrite: true

0 commit comments

Comments
 (0)