Skip to content

Commit

Permalink
Merge pull request #3 from ttnshubham/ttnshubham-patch-3
Browse files Browse the repository at this point in the history
Update and rename ci.yml to build.yml
  • Loading branch information
ttnshubham authored Jul 14, 2023
2 parents 684c053 + 1a40d30 commit 7f341da
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
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/
16 changes: 0 additions & 16 deletions .github/workflows/ci.yml

This file was deleted.

0 comments on commit 7f341da

Please sign in to comment.