Windows fixes

This commit is contained in:
Nick Gerleman
2022-12-24 23:17:51 -08:00
parent a14e422961
commit f8067420d6
2 changed files with 10 additions and 4 deletions

View File

@@ -3,11 +3,11 @@ name: Setup Android envirionment
runs:
using: "composite"
steps:
- name: Install JDK 1.8
uses: actions/setup-java@v1
- name: Select Java Version
uses: actions/setup-java@v2
with:
java-version: 1.8
- name: Install NDK 21
shell: bash
run: echo "y" | /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.3.6528147" --sdk_root=${ANDROID_SDK_ROOT}
run: echo "y" | ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install "ndk;21.3.6528147"

View File

@@ -11,10 +11,16 @@ runs:
- name: Install emsdk
uses: ./.github/actions/install-emsdk
- name: Install ninja
- name: Install ninja (Linux)
if: ${{ runner.os == 'Linux' }}
shell: bash
run: sudo apt-get install -y ninja-build
- name: Install ninja (Windows)
if: ${{ runner.os == 'Windows' }}
shell: powershell
run: choco install ninja
- name: yarn install
shell: bash
run: yarn install --frozen-lockfile