Skip to content

Commit 0d9ce5d

Browse files
committed
fix: 打包流程修改
1 parent d4a9ad0 commit 0d9ce5d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
# Generate MD5 checksum
8181
- name: Generate MD5 checksum
8282
run: |
83-
$md5 = (Get-FileHash -Path src/python/rag.py -Algorithm MD5).Hash
83+
$md5 = (Get-FileHash -Path temp_dist/rag.exe -Algorithm MD5).Hash
8484
echo $md5.ToLower() > temp_dist/md5.txt
8585
shell: pwsh
8686

@@ -137,6 +137,12 @@ jobs:
137137
echo "Generated MD5: $(cat dist/md5.txt)"
138138
shell: bash
139139

140+
- name: Download md5.txt from GitHub Release
141+
run: |
142+
curl -L -o dist/md5.txt https://github.com/yefansky/CodeReDesign/releases/download/latest/md5.txt
143+
echo "Downloaded md5.txt from release"
144+
shell: bash
145+
140146
- name: Setup Node.js
141147
uses: actions/setup-node@v4
142148
with:
@@ -206,4 +212,4 @@ jobs:
206212
with:
207213
pat: ${{ secrets.SHELLING }} # 引用 GitHub Secret
208214
registryUrl: https://marketplace.visualstudio.com
209-
skipDuplicate: true # 忽略重复版本错误
215+
skipDuplicate: true # 忽略重复版本错误

0 commit comments

Comments
 (0)