mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-21 15:00:40 +00:00
Upload native debug symbols to artifacts (#43)
* Create cd.yml * added artifact upload * fixed jobs sequence * moved upload to build job * jobs rename * keystore * Update cd.yml * macos runner * cd_dev * Update build.gradle * Added CD for Prod App Bundle * Clean up * removed redundant .apk type from appbundle artifact * added uploading NDS to artifacts * override version code * override version name * fixed gradle build path * add version code in gradle
This commit is contained in:
parent
59287d06bc
commit
7b9f9a91c0
2 changed files with 13 additions and 3 deletions
12
.github/workflows/cd_prod.yml
vendored
12
.github/workflows/cd_prod.yml
vendored
|
@ -46,7 +46,15 @@ jobs:
|
|||
- name: Build appbundle
|
||||
run: flutter build appbundle --release --flavor prod --dart-define cameraPreviewAspectRatio=2/3 -t lib/main_prod.dart
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
- name: Upload app bundle to artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: m3_lightmeter.apk
|
||||
name: m3_lightmeter_bundle
|
||||
path: build/app/outputs/bundle/prodRelease/app-prod-release.aab
|
||||
|
||||
- name: Upload native debug symbols to artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: m3_lightmeter_native_debug_symbols
|
||||
path: |
|
||||
build/app/intermediates/merged_native_libs/prodRelease/out/lib/
|
||||
|
|
|
@ -51,7 +51,9 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
/// legacy material-lightmeter ap stopped updating after 60022
|
||||
/// 7xxxx means that it is a new app
|
||||
versionCode 70000 + flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue