Skip to content

Commit 63d5fac

Browse files
committed
💚 ci(workflow): 修改构建产物路径以匹配exe文件
更新构建和发布工作流,将上传和打包的路径从目录改为匹配所有.exe文件,以适配新的构建输出格式
1 parent 1128519 commit 63d5fac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/upload-artifact@v4
4343
with:
4444
name: SimpleCutPy-build
45-
path: dist/SimpleCutPy/
45+
path: dist/*.exe
4646

4747
release:
4848
needs: build
@@ -61,7 +61,7 @@ jobs:
6161
- name: Create zip archive
6262
run: |
6363
cd dist
64-
7z a -tzip SimpleCutPy-${{ github.ref_name }}.zip SimpleCutPy/
64+
7z a -tzip SimpleCutPy-${{ github.ref_name }}.zip *.exe
6565
6666
- name: Create Release
6767
id: create_release

0 commit comments

Comments
 (0)