Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ttnshubham committed Jul 11, 2023
2 parents 6dc83ee + 6fd56ef commit a3b7f7a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Android and iOS
on:
push:
branches:
- master
- main
jobs:
install-and-test:
runs-on: ubuntu-latest
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build Android and iOS
on:
push:
branches:
- master
jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install npm dependencies
run: |
npm install
- name: Run tests
run: |
npm test
29 changes: 29 additions & 0 deletions .github/workflows/ttn_workflow.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/

0 comments on commit a3b7f7a

Please sign in to comment.