Skip to content

chore: 1.2.0 beta 2

chore: 1.2.0 beta 2 #8

Workflow file for this run

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: npm 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