Skip to content

Update to GopenPGP v3 #551

Update to GopenPGP v3

Update to GopenPGP v3 #551

Workflow file for this run

name: Gomobile for Android
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
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.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Install NDK
run: echo "y" | $ANDROID_HOME/tools/bin/sdkmanager "ndk;23.2.8568313"
- name: Set NDK environment to 23.2.8568313
run: $ANDROID_NDK_HOME=$ANDROID_NDK_HOME/../23.2.856831323*
- 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