Windows fixes
This commit is contained in:
6
.github/actions/setup-android/action.yml
vendored
6
.github/actions/setup-android/action.yml
vendored
@@ -3,11 +3,11 @@ name: Setup Android envirionment
|
|||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- name: Install JDK 1.8
|
- name: Select Java Version
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v2
|
||||||
with:
|
with:
|
||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
|
|
||||||
- name: Install NDK 21
|
- name: Install NDK 21
|
||||||
shell: bash
|
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"
|
||||||
|
8
.github/actions/setup-js/action.yml
vendored
8
.github/actions/setup-js/action.yml
vendored
@@ -11,10 +11,16 @@ runs:
|
|||||||
- name: Install emsdk
|
- name: Install emsdk
|
||||||
uses: ./.github/actions/install-emsdk
|
uses: ./.github/actions/install-emsdk
|
||||||
|
|
||||||
- name: Install ninja
|
- name: Install ninja (Linux)
|
||||||
|
if: ${{ runner.os == 'Linux' }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo apt-get install -y ninja-build
|
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
|
- name: yarn install
|
||||||
shell: bash
|
shell: bash
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
Reference in New Issue
Block a user