Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Feb 7, 2025
1 parent 501ffa0 commit 079caa5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,15 @@ jobs:
- name: 📦 Install dependencies
run: yarn install

- name: 📁 Copy google-services.json file
run: |
mkdir -p android/app
printf '%s' "${{ secrets.GOOGLE_SERVICES_JSON }}" > android/app/google-services.json
- name: 🚀 Build app
run: eas build --non-interactive --platform android --local --profile preview --output=./app-release.apk
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
GOOGLE_SERVICES_JSON: "./android/app/google-services.json"

- name: 🧪 Run tests
run: yarn test:ci
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,15 @@ jobs:
- name: 📦 Install dependencies
run: yarn install

- name: 📁 Copy google-services.json file
run: |
mkdir -p android/app
printf '%s' "${{ secrets.GOOGLE_SERVICES_JSON }}" > android/app/google-services.json
- name: 🚀 Build app
run: eas build --non-interactive --platform android --local --profile production_apk --output=./app-release.apk
env:
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }}
GOOGLE_SERVICES_JSON: "./android/app/google-services.json"

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 079caa5

Please sign in to comment.