Skip to content

Commit 0bfa8a8

Browse files
committed
test release
1 parent bbf78f3 commit 0bfa8a8

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

.github/workflows/release_test.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ jobs:
175175
mkdir oss_temp_file
176176
mkdir oss_temp_file/win
177177
mkdir oss_temp_file/win/x64
178-
cp -r chat2db-client/release/* ./oss_temp_file/win/x64
178+
cp -r chat2db-client/release/*Setup*.exe ./oss_temp_file/win/x64
179+
cp -r chat2db-client/release/*Setup*.exe.blockmap ./oss_temp_file/win/x64
180+
cp -r chat2db-client/release/latest.yml ./oss_temp_file/win/x64
179181
ls chat2db-client/release/
180182
181183
# 准备要需要的数据 MacOS amd64
@@ -188,17 +190,27 @@ jobs:
188190
mkdir oss_temp_file/mac
189191
mkdir oss_temp_file/mac/amd
190192
cp chat2db-client/static/chat2db-server-start.jar ./oss_temp_file/jar/${{ github.run_id }}
191-
cp -r chat2db-client/release/* ./oss_temp_file/mac/amd
193+
cp -r chat2db-client/release/*.zip ./oss_temp_file/mac/amd
194+
cp -r chat2db-client/release/*.zip.blockmap ./oss_temp_file/mac/amd
195+
cp -r chat2db-client/release/*.dmg ./oss_temp_file/mac/amd
196+
cp -r chat2db-client/release/*.dmg.blockmap ./oss_temp_file/mac/amd
197+
cp -r chat2db-client/release/latest-mac.yml ./oss_temp_file/mac/amd
192198
ls chat2db-client/release/
193199
200+
194201
# 准备要需要的数据 MacOS arm64
195202
- name: Prepare upload for MacOS arm64
196203
if: ${{ runner.os == 'macOS' && matrix.arch == 'arm64' }}
197204
run: |
198205
mkdir oss_temp_file
199206
mkdir oss_temp_file/mac
200207
mkdir oss_temp_file/mac/arm
201-
cp -r chat2db-client/release/* ./oss_temp_file/mac/arm
208+
cp -r chat2db-client/release/*.zip ./oss_temp_file/mac/arm
209+
cp -r chat2db-client/release/*.zip.blockmap ./oss_temp_file/mac/arm
210+
cp -r chat2db-client/release/*.dmg ./oss_temp_file/mac/arm
211+
cp -r chat2db-client/release/*.dmg.blockmap ./oss_temp_file/mac/arm
212+
cp -r chat2db-client/release/latest-mac.yml ./oss_temp_file/mac/arm
213+
ls chat2db-client/release/
202214
ls chat2db-client/release/
203215
204216
# 把文件上传到OSS 方便下载

0 commit comments

Comments
 (0)