Skip to content

Commit 0b2dec0

Browse files
authored
Update pdf-tools-app.yml
1 parent e5c8f4c commit 0b2dec0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pdf-tools-app.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,17 @@ jobs:
3333
run: |
3434
cd pdf_tools
3535
python build_exe.py
36+
- name: Verify EXE file exists
37+
shell: pwsh
38+
run: |
39+
if (!(Test-Path -Path "pdf_tools/dist/PDF工具_v0.0.1.21.exe")) {
40+
Write-Host "Error: File not found!"
41+
exit 1
42+
}
3643
- name: Upload EXE as Artifact
3744
uses: actions/upload-artifact@v3
3845
with:
39-
name: my-tool-exe
46+
name: PDF工具_v0.0.1.21.exe
4047
path: pdf_tools/dist/PDF工具_v0.0.1.21.exe # 修改为生成的 EXE 文件路径
4148

4249
- name: Create Release

0 commit comments

Comments
 (0)