Skip to content

Commit 8e1e4bf

Browse files
committed
ci: setup ninja through aseprite/get-ninja action
1 parent 33531ee commit 8e1e4bf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
brew install \
4545
autoconf \
4646
automake \
47-
ninja \
4847
pkg-config \
4948
sdl2 \
5049
${NULL+}
@@ -58,7 +57,6 @@ jobs:
5857
automake \
5958
cmake \
6059
libsdl2-dev \
61-
ninja-build \
6260
pkg-config \
6361
${NULL+}
6462
@@ -71,8 +69,8 @@ jobs:
7169
.github/fetch_sdl_vc.ps1
7270
echo "SDL2_DIR=$Env:GITHUB_WORKSPACE/SDL2-devel-VC" >> $Env:GITHUB_ENV
7371
- name: Setup Ninja for MSVC
74-
if: "matrix.platform.msvc"
75-
uses: ashutoshvarma/setup-ninja@master
72+
if: ${{ !contains(matrix.platform.shell, 'msys2') }}
73+
uses: aseprite/get-ninja@main
7674
with:
7775
version: 1.10.2
7876
- uses: ilammy/msvc-dev-cmd@v1

0 commit comments

Comments
 (0)