Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AfaqNasir/6c63cebb189cdb41dbae3a7a4309aaff to your computer and use it in GitHub Desktop.
Save AfaqNasir/6c63cebb189cdb41dbae3a7a4309aaff to your computer and use it in GitHub Desktop.
Github Action Build React Native Android
name: Build Android
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn
- name: Build Android Release
run: cd android && ./gradlew assembleRelease
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
name: release
path: android/app/build/outputs/apk/release/app-release.apk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment