-
Notifications
You must be signed in to change notification settings - Fork 34
129 lines (129 loc) · 4.04 KB
/
build_ios.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
name: Build iOS
run-name: >
Upload to App Store ${{ inputs.tag }}
${{ inputs.build_official && '; CoopCycle' || '' }}
${{ inputs.build_official_beta && '; CoopCycle (Beta)' || '' }}
${{ inputs.build_naofood && '; Naofood' || '' }}
${{ inputs.build_kooglof && '; Kooglof' || '' }}
${{ inputs.build_robinfood && '; RobinFood' || '' }}
${{ inputs.build_lcr && '; les coursiers Rennais' || '' }}
on:
workflow_dispatch:
inputs:
tag:
type: string
description: Build a specific git tag
required: true
build_official:
description: 'Build CoopCycle production app'
required: true
type: boolean
build_official_beta:
description: 'Build CoopCycle beta app (TODO: finish setup)'
required: true
type: boolean
build_naofood:
description: 'Build Naofood app'
required: true
type: boolean
build_kooglof:
description: 'Build Kooglof app'
required: true
type: boolean
build_robinfood:
description: 'Build RobinFood app'
required: true
type: boolean
build_lcr:
description: 'Build LCR app'
required: true
type: boolean
build_sicklo:
description: 'Build Sicklo app'
required: true
type: boolean
jobs:
coopcycle:
if: ${{ inputs.build_official }}
name: Build CoopCycle production app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64
secrets: inherit
coopcycle_beta:
if: ${{ inputs.build_official_beta }}
name: Build CoopCycle beta app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
instance: beta
app_name: CoopCycle (Beta)
app_id: org.coopcycle.CoopCycleBeta
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64_BETA
secrets: inherit
naofood:
if: ${{ inputs.build_naofood }}
name: Build Naofood app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
instance: naofood
instance_url: https://naofood.coopcycle.org
app_name: Naofood
app_id: org.coopcycle.Naofood
primary_color: "#f8781f"
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64_NAOFOOD
secrets: inherit
kooglof:
if: ${{ inputs.build_kooglof }}
name: Build Kooglof app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
instance: kooglof
instance_url: https://kooglof.coopcycle.org
app_name: Kooglof
app_id: org.coopcycle.Kooglof
primary_color: "#b4434e"
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64_KOOGLOF
secrets: inherit
robinfood:
if: ${{ inputs.build_robinfood }}
name: Build RobinFood app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
instance: robinfood
instance_url: https://robinfood.coopcycle.org
app_name: Robin Food
app_id: org.coopcycle.RobinFood
primary_color: "#ff0000"
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64_ROBINFOOD
secrets: inherit
lcr:
if: ${{ inputs.build_lcr }}
name: Build les coursiers Rennais app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
instance: lcr
instance_url: https://lcr.coopcycle.org
app_name: Les Coursiers Rennais
app_id: org.coopcycle.LCR
primary_color: "#0A090A"
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64_LCR
secrets: inherit
sicklo:
if: ${{ inputs.build_sicklo }}
name: Build Sicklo app
uses: ./.github/workflows/fastlane_ios.yml
with:
tag: ${{ inputs.tag }}
instance: sicklo
instance_url: https://sicklo.coopcycle.org
app_name: Sicklo
app_id: org.coopcycle.Sicklo
primary_color: "#1f2632"
google_service_info_plist_base64: GOOGLE_SERVICE_INFO_PLIST_BASE64_SICKLO
secrets: inherit