Forráskód Böngészése

CI: Set default shell for Vita build.

vitasdk image only comes with sh.
Previously, the shell was mentioned on each run step.
Pierre Wendling 3 éve
szülő
commit
333ea51cac
1 módosított fájl, 4 hozzáadás és 3 törlés
  1. 4 3
      .github/workflows/vita.yaml

+ 4 - 3
.github/workflows/vita.yaml

@@ -2,6 +2,10 @@ name: Build (Sony Playstation Vita)
 
 on: [push, pull_request]
 
+defaults:
+  run:
+    shell: sh
+
 jobs:
   vita:
     runs-on: ubuntu-latest
@@ -13,10 +17,7 @@ jobs:
       run: |
         apk update 
         apk add cmake make
-      shell: sh
     - name: Configure CMake
       run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
-      shell: sh
     - name: Build
       run: cmake --build build
-      shell: sh