We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ccc3eb commit 9cf0afbCopy full SHA for 9cf0afb
.github/workflows/cmake.yml
@@ -84,9 +84,15 @@ jobs:
84
- name: Build
85
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
86
87
- - name: Build Package
+ - name: Build Windows Package
88
if: matrix.os == 'windows-2022'
89
- run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --target package
+ shell: pwsh
90
+ run: |
91
+ if ("${{ github.event_name }}" -eq "pull_request") {
92
+ cpack --config build/CPackConfig.cmake -G ZIP -B build
93
+ } else {
94
+ cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }} --target package
95
+ }
96
97
- name: Rename CUDA artifacts
98
if: matrix.build_name == 'windows-2022-cuda'
0 commit comments