Skip to content

Merge pull request #254 from mia-ajuda/fix/get_id_from_null #72

Merge pull request #254 from mia-ajuda/fix/get_id_from_null

Merge pull request #254 from mia-ajuda/fix/get_id_from_null #72

Workflow file for this run

# name: submit app to play store
# on :
# push :
# branches : [ master ]
# jobs:
# submit:
# runs-on: ubuntu-latest
# defaults:
# run:
# shell: bash
# working-directory: ./app
# steps:
# - name: πŸ— Setup repo
# uses: actions/checkout@v3
# - name: πŸ— Setup node
# uses: actions/setup-node@v3
# with:
# node-version: 16.x
# cache: yarn
# cache-dependency-path: app/yarn.lock
# - name: πŸ— Config files
# run: |
# echo "$GOOGLE_SERVICES" > google-services.json
# echo "$FIREBASE_CONFIG_DEV" > ./src/config/authmiaajuda-firebase-dev.json
# echo "$FIREBASE_CONFIG" > ./src/config/authmiaajuda-firebase.json
# echo "$ENV_VARIABLE" > .env
# echo "$SERVICE_ACCOUNT_KEY" > ./serviceAccountKey.json
# env:
# GOOGLE_SERVICES: ${{ secrets.GOOGLE_SERVICES }}
# FIREBASE_CONFIG_DEV: ${{ secrets.FIREBASE_CONFIG_DEV }}
# FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }}
# ENV_VARIABLE: ${{ secrets.ENV_VARIABLE }}
# SERVICE_ACCOUNT_KEY: ${{ secrets.SERVICE_ACCOUNT_KEY }}
# - name: πŸ— Setup Expo and EAS
# uses: expo/expo-github-action@v7
# with:
# expo-version: latest
# eas-version: latest
# token: ${{ secrets.EXPO_TOKEN }}
# - name: πŸ“¦ Install dependencies
# run: yarn install --pure-lockfile --non-interactive
# - name: πŸ“¦ Build prod aab by expo build
# run: expo build:android -t app-bundle --release-channel=prod --non-interactive
# - name: πŸ“¦ Retrieve last build url version
# run: echo "BUILD_URL=$(expo url:apk)" >> $GITHUB_ENV
# - name: πŸ“¦ Submit latest aab build to play store as production app
# run: eas submit -p android --url ${{ env.BUILD_URL }}