-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (43 loc) · 1.61 KB
/
tester-email-distribute.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: "Distribute app to tester"
on:
workflow_dispatch:
inputs:
platform:
description: "Build target platform"
options:
- all
- android
- ios
type: choice
required: true
tester_email:
description: "Tester email address"
type: string
required: true
jobs:
distribute-android:
if: ${{ github.event.inputs.platform == 'android' || github.event.inputs.platform == 'all' }}
uses: ./.github/workflows/distribute-flutter-android.yml
with:
environment: firebase-distribution
secrets:
ANDROID_BUILD_FILES: ${{ secrets.ANDROID_BUILD_FILES }}
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
GOOGLE_SERVICE_ACCOUNT_CREDENTIAL_B64: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_CREDENTIAL_B64 }}
PENHAS_BASE_URL: ${{ secrets.PENHAS_BASE_URL }}
TESTER_EMAIL: ${{ github.event.inputs.tester_email }}
distribute-ios:
if: ${{ github.event.inputs.platform == 'ios' || github.event.inputs.platform == 'all' }}
uses: ./.github/workflows/distribute-flutter-ios.yml
with:
environment: firebase-distribution
secrets:
APPLE_API_KEY_B64: ${{ secrets.APPLE_API_KEY_B64 }}
APPLE_ID: ${{ secrets.APPLE_ID }}
CERTIFICATE_CONTENT: ${{ secrets.CERTIFICATE_CONTENT }}
CERTIFICATE_PWD: ${{ secrets.CERTIFICATE_PWD }}
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
IOS_BUILD_FILES: ${{ secrets.IOS_BUILD_FILES }}
KEYCHAIN_PWD: ${{ secrets.KEYCHAIN_PWD }}
PENHAS_BASE_URL: ${{ secrets.PENHAS_BASE_URL }}
TESTER_EMAIL: ${{ github.event.inputs.tester_email }}