File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,18 @@ jobs:
52
52
- name : Build with Gradle
53
53
run : ./gradlew :mobile:bundleDebug
54
54
55
- - name : 📦 Retain Artifacts (Lint Results )
56
- id : retain-lint-results
55
+ - name : 📦 Retain Artifacts (Debug AAB )
56
+ id : retain-debug-aab
57
57
uses : actions/upload-artifact@v3
58
58
with :
59
59
name : androidx-github
60
- path : ./mobile/build/reports/*
60
+ path : ./mobile/build/outputs/bundle/debug/*.aab
61
61
retention-days : 14
62
62
63
- - name : 📦 Retain Artifacts (Debug AAB )
64
- id : retain-debug-aab
63
+ - name : 📦 Retain Artifacts (Lint Results )
64
+ id : retain-lint-results
65
65
uses : actions/upload-artifact@v3
66
66
with :
67
67
name : androidx-github
68
- path : ./mobile/build/outputs/bundle/debug/*.aab
69
- retention-days : 14
68
+ path : ./mobile/build/reports/*
69
+ retention-days : 14
Original file line number Diff line number Diff line change @@ -44,15 +44,19 @@ android {
44
44
signingConfigs {
45
45
debug {
46
46
storeFile new File (" ${ System.properties['user.home']}${ File.separator} .android${ File.separator} debug.keystore" )
47
- storePassword rootProject. ext. get(' debugKeystorePass' )
48
- keyAlias rootProject. ext. get(' debugKeyAlias' )
49
- keyPassword rootProject. ext. get(' debugKeyPass' )
47
+ if (rootProject. file(' keystore.properties' ). exists()) {
48
+ storePassword rootProject. ext. get(' debugKeystorePass' )
49
+ keyAlias rootProject. ext. get(' debugKeyAlias' )
50
+ keyPassword rootProject. ext. get(' debugKeyPass' )
51
+ }
50
52
}
51
53
release {
52
54
storeFile new File (" ${ System.properties['user.home']}${ File.separator} .android${ File.separator} release.keystore" )
53
- storePassword rootProject. ext. get(' releaseKeystorePass' )
54
- keyAlias rootProject. ext. get(' releaseKeyAlias' )
55
- keyPassword rootProject. ext. get(' releaseKeyPass' )
55
+ if (rootProject. file(' keystore.properties' ). exists()) {
56
+ storePassword rootProject. ext. get(' releaseKeystorePass' )
57
+ keyAlias rootProject. ext. get(' releaseKeyAlias' )
58
+ keyPassword rootProject. ext. get(' releaseKeyPass' )
59
+ }
56
60
}
57
61
}
58
62
You can’t perform that action at this time.
0 commit comments