fix: maps crash android #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build and Deploy" | |
on: | |
push: | |
tags: | |
- v* | |
workflow_dispatch: { } | |
env: | |
EAS_BUILD_ARGS: --non-interactive --profile production --local | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20.x' | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Setup Expo | |
uses: expo/expo-github-action@v7 | |
with: | |
token: ${{ secrets.EXPO_TOKEN }} | |
expo-version: latest | |
eas-version: latest | |
- name: Install dependencies | |
run: yarn install | |
- name: Build app for Android | |
run: eas build --output ./android.aab --platform android ${{ env.EAS_BUILD_ARGS }} | |
- name: Upload to Google Play Console | |
uses: r0adkll/upload-google-play@v1 | |
with: | |
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }} | |
packageName: nl.djoamersfoort.djo | |
releaseFiles: ./android.aab | |
track: production | |
status: draft |