new(ci): Added single workflow for build & deployment

This commit is contained in:
Jagandeep Brar
2022-01-09 13:53:34 -06:00
parent 4cd51841db
commit cd6db48c49
4 changed files with 36 additions and 24 deletions

View File

@@ -1,16 +1,11 @@
name: '[Build] Android'
on:
workflow_dispatch:
workflow_call:
inputs:
flavor:
type: choice
required: true
description: 'Build Flavor?'
options:
- 'alpha'
- 'beta'
- 'production'
type: string
jobs:
build:
@@ -26,7 +21,7 @@ jobs:
- name: Set Flavor
working-directory: ${{ github.workspace }}
run: |
echo "FLAVOR=${{ github.event.inputs.flavor }}" > .flavor
echo "FLAVOR=${{ inputs.flavor }}" > .flavor
- name: Install Secret Keys
run: |