TP-24174 | workflow input fix
This commit is contained in:
12
.github/workflows/generate_apk.yml
vendored
12
.github/workflows/generate_apk.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user