passforios-gopenpgp/.github/workflows/android.yml
wussler 6b2ac0b11c
Migrate CI to actions, build artifacts (#89)
* Create go workflow

* Delete travis config

* Update build script

* Create apple workflow

* Create android workflow

Co-authored-by: marin thiercelin <marin.thiercelin@pm.me>
2020-10-19 10:07:25 +02:00

33 lines
620 B
YAML

name: Gomobile for Android
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build library for Android with gomobile
runs-on: ubuntu-latest
steps:
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
./build.sh android
find build
- name: Upload Android artifacts
uses: actions/upload-artifact@v2
with:
name: Android build
path: build/android
if-no-files-found: error