@@ -24,20 +24,23 @@ jobs:
24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
27
+ # https://github.com/actions/checkout
27
28
- name : 🚚 Get latest code
28
29
uses : actions/checkout@v4
29
30
30
- # https://github.com/actions/setup-java
31
+ # https://github.com/actions/setup-java
31
32
- name : ☕ Set up AWS Corretto JDK 17
32
33
uses : actions/setup-java@v4
33
34
with :
34
35
distribution : corretto
35
36
java-version : ' 17'
36
37
architecture : x64
37
38
39
+ # Run Gradle tasks
38
40
- name : Build module :library
39
41
run : ./gradlew :library:lint :library:assembleRelease
40
42
43
+ # Run Gradle tasks
41
44
- name : Build module :mobile
42
45
run : ./gradlew :mobile:lint :mobile:bundleDebug
43
46
@@ -46,18 +49,22 @@ jobs:
46
49
id : retain-library-aar
47
50
uses : actions/upload-artifact@v4
48
51
with :
49
- name : androidx-github
52
+ name : androidx-github-lib
50
53
path : ./library/build/outputs/aar/*.aar
51
54
retention-days : 14
52
55
53
- - name : 📦 Retain Artifacts (Debug AAB)
56
+ # https://github.com/actions/upload-artifact
57
+ - name : 📦 Retain Artifacts (AAB)
54
58
id : retain-app-debug-aab
55
59
uses : actions/upload-artifact@v4
56
60
with :
57
- name : androidx-github-lib
58
- path : ./mobile/build/outputs/bundle/debug/*.aab
61
+ name : androidx-github
62
+ path : |
63
+ ./mobile/build/outputs/bundle/release/*.aab
64
+ ./mobile/build/outputs/bundle/debug/*.aab
59
65
retention-days : 14
60
66
67
+ # https://github.com/actions/upload-artifact
61
68
- name : 📦 Retain Artifacts (Lint Results)
62
69
id : retain-lint-results
63
70
uses : actions/upload-artifact@v4
0 commit comments