Update android.yml

This commit is contained in:
Ray 2022-08-11 20:16:48 +02:00 committed by GitHub
parent b55cb32d9b
commit 764254d93e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -42,14 +42,18 @@ jobs:
shell: bash shell: bash
if: github.event_name == 'release' && github.event.action == 'published' if: github.event_name == 'release' && github.event.action == 'published'
- name: Setup Android NDK - name: Checkout Android NDK
uses: actions/checkout@v2 uses: actions/checkout@v2
- uses: nttld/setup-ndk@v1
- name: Setup Android NDK
id: setup-ndk id: setup-ndk
uses: nttld/setup-ndk@v1
with: with:
ndk-version: r29 ndk-version: r29
add-to-path: false add-to-path: false
- run: ./build.sh
- name: Add Android NDK to path
run: ./build.sh
env: env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }} ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}