-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 1 KB
/
android-deploy-beta.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
name: Playstore Deployment
on:
push:
tags:
- v*
jobs:
deploy_android:
name: Deploy build to Playstore (internal test)
runs-on: ubuntu-latest
steps:
- name: Checkout code from ref
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- run: echo $NUTMEG_DEPLOY_KEY | base64 -d > android/nutmeg-deploy-key.json
env:
NUTMEG_DEPLOY_KEY: ${{ secrets.NUTMEG_DEPLOY_KEY }}
- run: echo $ANDROID_JSON | base64 -d > android/nutmeg-9099c-sa-credentials.json
env:
ANDROID_JSON: ${{ secrets.ANDROID_JSON }}
- name: Run Flutter tasks
uses: subosito/flutter-action@v1
with:
flutter-version: '3.13.9'
- run: flutter clean
- run: flutter pub get
- run: flutter build appbundle -t lib/screens/Launch.dart --release
- name: Deploy to Playstore production
uses: maierj/[email protected]
with:
lane: playstoreInternalTest
subdirectory: android