test: GH Action should only try pack-msi if making dist or qt (#4563)

* test: only use pack-ms iff making dist or qt

* Update .github/workflows/actions.yml

Co-authored-by: Mike Gelfand <mikedld@users.noreply.github.com>
This commit is contained in:
Charles Kerr 2023-01-08 16:34:59 -06:00 committed by GitHub
parent 68f6f49c6d
commit cf8bd14403
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -389,6 +389,7 @@ jobs:
- name: Install - name: Install
run: cmake --build obj --config RelWithDebInfo --target install run: cmake --build obj --config RelWithDebInfo --target install
- name: Package - name: Package
if: ${{ needs.what-to-make.outputs.make-dist == 'true' || (needs.what-to-make.outputs.make-daemon == 'true' && needs.what-to-make.outputs.make-qt == 'true') }}
run: | run: |
Import-VisualStudioVars -VisualStudioVersion 2022 -Architecture ${{ matrix.arch }} Import-VisualStudioVars -VisualStudioVersion 2022 -Architecture ${{ matrix.arch }}
cmake --build obj --config RelWithDebInfo --target pack-msi cmake --build obj --config RelWithDebInfo --target pack-msi