Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 987c119

Browse files
committed
Update win_cmake_build.yml
1 parent 9ad166d commit 987c119

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/win_cmake_build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,22 @@ jobs:
6262
6363
# - name: TODO, BuildExe SM simple hyrid example
6464

65+
- name: Release Build for Upload
66+
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_MSVC_DEV_ALL}}
67+
run: |
68+
cmake --build . --parallel 2 --config Release
69+
cpack -C Release -G ZIP
70+
6571
- name: Upload BuildExe
6672
uses: actions/upload-artifact@v2
6773
with:
6874
name: "BuildExe_Win"
69-
path: ${{github.workspace}}/${{env.BUILD_FOLDER_MSVC_DEV_ALL}}/buildexe/Release/buildexe.exe
75+
path: ${{github.workspace}}/${{env.BUILD_FOLDER_MSVC_DEV_ALL}}/BuildCC-0.1.1-win64.zip
7076

7177
- name: Install
7278
working-directory: ${{github.workspace}}/${{env.BUILD_FOLDER_MSVC_DEV_ALL}}
7379
run: |
74-
cmake --install .
80+
cmake --install . --config Release
7581
7682
- name: AfterInstall Example
7783
working-directory: ${{github.workspace}}/example/gcc/AfterInstall

0 commit comments

Comments
 (0)