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 |
you need set up java
- name: Install Java
uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
cache: gradle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
face this issue in this