From 333ea51cac18126bedf7c707a4b4a51dc9ddece9 Mon Sep 17 00:00:00 2001
From: Pierre Wendling <[EMAIL REDACTED]>
Date: Sat, 11 Sep 2021 23:07:44 -0400
Subject: [PATCH] CI: Set default shell for Vita build.
vitasdk image only comes with sh.
Previously, the shell was mentioned on each run step.
---
.github/workflows/vita.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/vita.yaml b/.github/workflows/vita.yaml
index 16bb7ffb4e..49d1a2bfca 100644
--- a/.github/workflows/vita.yaml
+++ b/.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