Created
May 3, 2021 01:50
-
-
Save subekti404dev/5875dd41ef733a1f54d0c87d0b341519 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
you need set up java