Skip to content

Commit

Permalink
generate apk
Browse files Browse the repository at this point in the history
  • Loading branch information
tajinder-06 committed Jun 26, 2024
1 parent e284a0a commit 698958a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/build_android_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
# pull_request:
# types: [closed]

jobs:
build-and-update:
Expand Down Expand Up @@ -37,21 +35,18 @@ jobs:
run: npm install -g eas-cli

- name: Build APK
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
run: |
cd android
./gradlew assembleRelease
- name: Upload APK artifact
if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
uses: actions/upload-artifact@v4
with:
name: app
path: android/app/build/outputs/apk/release/app-release.apk
retention-days: 3

- name: EAS Update
if: github.event_name == 'push'
env:
EXPO_TOKEN: ${{ secrets.EXPO_TOKEN }}
run: |
Expand Down

0 comments on commit 698958a

Please sign in to comment.