Build Android apps: CoopCycle PROD, CoopCycle BETA, Les Coursiers Stéphanois, Naofood, Kooglof, RobinFood, Les Coursiers Rennais, at tag: v2.19.0-beta1 #124
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Android | |
run-name: > | |
Build Android apps: | |
${{ github.event.inputs.build_official && 'CoopCycle PROD, ' }} | |
${{ github.event.inputs.build_official_beta && 'CoopCycle BETA, ' }} | |
${{ github.event.inputs.build_coursiers_stephanois && 'Les Coursiers Stéphanois, ' }} | |
${{ github.event.inputs.build_naofood && 'Naofood, ' }} | |
${{ github.event.inputs.build_zampate && 'Zampate, ' }} | |
${{ github.event.inputs.build_kooglof && 'Kooglof, ' }} | |
${{ github.event.inputs.build_robinfood && 'RobinFood, ' }} | |
${{ github.event.inputs.build_coursiers_rennais && 'Les Coursiers Rennais, ' }} | |
${{ github.event.inputs.build_coursiers_montpellier && 'Coursiers MTP,' }} | |
at tag: ${{ github.event.inputs.tag }} | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
type: string | |
description: Build a specific git tag | |
required: true | |
deploy_google_play: | |
description: 'Upload to Google Play' | |
required: true | |
type: boolean | |
default: false | |
google_play_track: | |
description: 'Google Play track' | |
required: true | |
type: string | |
default: 'internal' | |
build_official: | |
description: 'Build CoopCycle production app' | |
required: true | |
type: boolean | |
build_official_beta: | |
description: 'Build CoopCycle beta app' | |
required: true | |
type: boolean | |
build_coursiers_stephanois: | |
description: 'Build Coursiers Stéphanois app' | |
required: true | |
type: boolean | |
build_naofood: | |
description: 'Build Naofood app' | |
required: true | |
type: boolean | |
# build_zampate: | |
# description: 'Build Zampate 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_coursiers_rennais: | |
description: 'Build Coursiers Rennais app' | |
required: true | |
type: boolean | |
jobs: | |
coopcycle: | |
if: ${{ inputs.build_official }} | |
name: Build CoopCycle production app | |
uses: ./.github/workflows/fastlane_android.yml | |
secrets: inherit | |
with: | |
tag: ${{ inputs.tag }} | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
coopcycle_beta: | |
if: ${{ inputs.build_official_beta }} | |
name: Build CoopCycle beta app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: beta | |
app_name: CoopCycle (Beta) | |
package_name: fr.coopcycle.beta | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
naofood: | |
if: ${{ inputs.build_naofood }} | |
name: Build Naofood app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: naofood | |
instance_url: https://naofood.coopcycle.org | |
app_name: Naofood | |
primary_color: "#f8781f" | |
package_name: fr.naofood.client | |
keystore_key_alias: naofood | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_NAOFOOD | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
zampate: | |
if: ${{ inputs.build_zampate }} | |
name: Build Zampate app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: zampate | |
instance_url: https://zampate.coopcycle.org | |
app_name: Zampate | |
primary_color: "#d02e26" | |
package_name: fr.coopcycle.zampate | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
coursiers_stephanois: | |
if: ${{ inputs.build_coursiers_stephanois }} | |
name: Build Les Coursiers Stéphanois app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: coursiers_stephanois | |
instance_url: https://coursiers-stephanois.coopcycle.org | |
app_name: Les Coursiers Stéphanois | |
primary_color: "#85b544" | |
package_name: fr.coopcycle.coursiers_stephanois | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
kooglof: | |
if: ${{ inputs.build_kooglof }} | |
name: Build Kooglof app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: kooglof | |
instance_url: https://kooglof.coopcycle.org | |
app_name: Kooglof | |
primary_color: "#b4434e" | |
package_name: fr.coopcycle.kooglof | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
robinfood: | |
if: ${{ inputs.build_robinfood }} | |
name: Build RobinFood app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: robinfood | |
instance_url: https://robinfood.coopcycle.org | |
app_name: Robin Food | |
primary_color: "#ff0000" | |
package_name: fr.coopcycle.robinfood | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
coursiers_montpellier: | |
if: ${{ inputs.build_coursiers_montpellier }} | |
name: Build Coursiers MTP app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: coursiersmontpellier | |
instance_url: https://coursiersmontpellier.coopcycle.org | |
app_name: Coursiers MTP | |
primary_color: "#004e9c" | |
package_name: fr.coopcycle.coursiers_mtp | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit | |
coursiers_rennais: | |
if: ${{ inputs.build_coursiers_rennais }} | |
name: Build LCR app | |
uses: ./.github/workflows/fastlane_android.yml | |
with: | |
tag: ${{ inputs.tag }} | |
instance: lcr | |
instance_url: https://lcr.coopcycle.org | |
app_name: Les Coursiers Rennais | |
primary_color: "#0A090A" | |
package_name: fr.coopcycle.lcr | |
keystore_key_alias: instance | |
keystore_key_password_secret: SIGNING_KEY_PASSWORD_INSTANCE | |
google_play_track: ${{ inputs.google_play_track }} | |
deploy_google_play: ${{ inputs.deploy_google_play }} | |
secrets: inherit |