Browse Source

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>
Simon McVittie 3 years ago
parent
commit
a459479769
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/main.yml

+ 1 - 0
.github/workflows/main.yml

@@ -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