-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (39 loc) · 1.12 KB
/
android.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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