TP-24174 | workflow input fix

This commit is contained in:
Rajinikanth
2023-04-07 19:19:39 +05:30
parent ebacee1bef
commit 48e30672f5

View File

@@ -2,15 +2,6 @@ name: Generate APK CI
on:
workflow_call:
inputs:
environment:
description: Build environment passed from caller workflow
required: true
type: string
type:
description: Build type passed from caller workflow
required: true
type: string
jobs:
generate:
@@ -21,9 +12,6 @@ jobs:
- name: Log Build Metadata
run: |
echo "Commit SHA: ${{ github.sha }}"
echo "Build Environment: ${{ github.event.inputs.environment || inputs.environment }}"
echo "App Version Code: $(awk '/VERSION_CODE/ {print $4}' app/build.gradle)"
echo "App Version Name: $(awk '/VERSION_NAME/ {print $4}' app/build.gradle | tr -d '"')"
- name: Set up JDK 11
uses: actions/setup-java@v3
with: