mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-05-19 14:40:42 +00:00
override version name
This commit is contained in:
parent
6409ced67e
commit
00a865c9de
1 changed files with 4 additions and 0 deletions
4
.github/workflows/cd_prod.yml
vendored
4
.github/workflows/cd_prod.yml
vendored
|
@ -11,6 +11,9 @@ on:
|
|||
versionCode:
|
||||
description: 'Version code'
|
||||
required: true
|
||||
versionName:
|
||||
description: 'Version name'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -52,6 +55,7 @@ jobs:
|
|||
with:
|
||||
gradlePath: app/build.gradle # or app/build.gradle.kts
|
||||
versionCode: ${{ github.event.inputs.versionCode }}
|
||||
versionName: ${{ github.event.inputs.versionName }}
|
||||
|
||||
- name: Build appbundle
|
||||
run: flutter build appbundle --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart
|
||||
|
|
Loading…
Reference in a new issue