24 lines
637 B
YAML
24 lines
637 B
YAML
|
name: android
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- mobile-staging
|
||
|
- 'release/**'
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: macos-latest
|
||
|
steps:
|
||
|
- uses: actions/setup-go@v1
|
||
|
with:
|
||
|
go-version: "1.14"
|
||
|
- uses: actions/checkout@v2
|
||
|
- run: brew install --cask android-sdk
|
||
|
- run: echo y | sdkmanager --install "platforms;android-29"
|
||
|
- run: echo y | sdkmanager --install "ndk;21.3.6528147"
|
||
|
- run: ./build-android.bash
|
||
|
env:
|
||
|
ANDROID_HOME: /usr/local/Caskroom/android-sdk/4333796
|
||
|
- run: ./publish-android.bash
|
||
|
env:
|
||
|
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
|