workflows: Only run `cmake --install` on Unix platforms

The syntax used in this step assumes a Unix shell.

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2022-05-04 18:13:25 +01:00 committed by Sam Lantinga
parent 79a16da61e
commit a459479769
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ jobs:
- name: Build - name: Build
run: cmake --build build/ --config Release run: cmake --build build/ --config Release
- name: Install - name: Install
if: matrix.platform.shell == 'sh'
run: | run: |
set -eu set -eu
rm -fr DESTDIR-cmake rm -fr DESTDIR-cmake