Skip to content

Android Build SDK

Android Build SDK #687

Workflow file for this run

name: Android Build SDK
on:
release:
types: [released]
jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: yarn
- name: Test and Lint
run: |
yarn ganache &
yarn test
yarn lint
build-android:
needs: install-and-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install dependencies
run: yarn
- name: Build Android Release
run: |
cd android
./gradlew app:assembleRelease
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: app-release.apk
path: android/app/build/outputs/apk/release/