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

View file

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