Skip to content

Commit c85fb53

Browse files
authored
add ndk home env (#80)
Signed-off-by: gengjiawen <technicalcute@gmail.com>
1 parent e76e30a commit c85fb53

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: Publish Docker image
22
on:
3+
push:
4+
branches:
5+
- master
36
release:
47
types: [published]
8+
59
jobs:
610
push_to_registry:
711
name: Push Docker image to Docker Hub

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ ENV ADB_INSTALL_TIMEOUT=10
1818
ENV ANDROID_HOME=/opt/android
1919
ENV ANDROID_SDK_HOME=${ANDROID_HOME}
2020
ENV ANDROID_NDK=${ANDROID_HOME}/ndk/$NDK_VERSION
21+
ENV ANDROID_NDK_HOME=${ANDROID_HOME}/ndk/$NDK_VERSION
2122

2223
ENV PATH=${ANDROID_NDK}:${ANDROID_HOME}/cmdline-tools/tools/bin:${ANDROID_HOME}/emulator:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:/opt/buck/bin/:${PATH}
2324

0 commit comments

Comments
 (0)