passforios-gopenpgp/.github/workflows/android.yml
wussler 27efcb4627
WIP: Add tests for attachments (#116)
* Add tests for attachments

* Fix CI

* Use go 1.15 for mobile
2021-03-08 17:59:03 +01:00

39 lines
731 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: Set up Go 1.15
uses: actions/setup-go@v2
with:
go-version: ~1.15.6
id: go
- name: Checkout
uses: actions/checkout@v2
- name: Build
run: |
./build.sh android
find dist
- name: Upload Android artifacts
uses: actions/upload-artifact@v2
with:
name: Android build
path: dist/android
if-no-files-found: error