-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ttnshubham/ttnshubham-patch-3
Update and rename ci.yml to build.yml
- Loading branch information
Showing
2 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: react-native-android-build-apk | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
install-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install npm dependencies | ||
run: | | ||
npm install | ||
build-android: | ||
needs: install-and-test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install npm dependencies | ||
run: | | ||
npm install | ||
- name: Build Android Release | ||
run: | | ||
cd android && ./gradlew assembleRelease | ||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: app-release.apk | ||
path: android/app/build/outputs/apk/release/ |
This file was deleted.
Oops, something went wrong.