Skip to content

Commit

Permalink
fix: add google services json to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Feb 7, 2025
1 parent 1a99e7c commit 501ffa0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- 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 }}

- name: 🧪 Run tests
run: yarn test:ci
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release tag
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
draft_release:
Expand All @@ -22,7 +22,7 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
# prerelease: true
# prerelease: true

build_android:
needs: [draft_release]
Expand Down Expand Up @@ -54,6 +54,8 @@ jobs:

- 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 }}

- name: Upload Artifact
uses: actions/upload-artifact@v4
Expand All @@ -71,7 +73,6 @@ jobs:
asset_path: ./app-release.apk
asset_name: alby-go-${{ github.ref_name }}-android.apk
asset_content_type: application/vnd.android.package-archive

# publish-release:
# needs: [release, build_android]
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 501ffa0

Please sign in to comment.