Commit a4594797695b4d16137d4958455a115bcda84288

Simon McVittie 2022-05-04T18:13:25

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>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 353cdce..7a011ae 100644
--- a/.github/workflows/main.yml
+++ b/.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