Selaa lähdekoodia

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

The syntax used in this step assumes a Unix shell.

Signed-off-by: Simon McVittie <[email protected]>
Simon McVittie 3 vuotta sitten
vanhempi
commit
a459479769
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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