CI: Set default shell for Vita build.

vitasdk image only comes with sh.
Previously, the shell was mentioned on each run step.
This commit is contained in:
Pierre Wendling 2021-09-11 23:07:44 -04:00 committed by Sam Lantinga
parent 1e6e9f364e
commit 333ea51cac
1 changed files with 4 additions and 3 deletions

View File

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