Forked from subekti404dev/gist:5875dd41ef733a1f54d0c87d0b341519
Created
June 7, 2023 12:11
-
-
Save AfaqNasir/6c63cebb189cdb41dbae3a7a4309aaff to your computer and use it in GitHub Desktop.
Github Action Build React Native Android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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