|
42 | 42 | if: "${{ steps.service-changed.outputs.result == 'true' }}" |
43 | 43 | |
44 | 44 | with: |
45 | | - arguments: --no-configuration-cache spotlessCheck |
| 45 | + arguments: spotlessCheck |
| 46 | + |
| 47 | + - name: Upload Kotlin build report |
| 48 | + if: "${{ always() }}" |
| 49 | + |
| 50 | + with: |
| 51 | + name: Build report |
| 52 | + path: build/reports/kotlin-build/ |
46 | 53 |
|
47 | 54 | unit-tests: |
48 | 55 | runs-on: ubuntu-latest |
|
76 | 83 | if: "${{ steps.service-changed.outputs.result == 'true' }}" |
77 | 84 | |
78 | 85 | with: |
79 | | - arguments: --no-configuration-cache test -PslimTests |
| 86 | + arguments: test -PslimTests |
80 | 87 |
|
81 | 88 | - name: (Fail-only) Upload test report |
82 | 89 | if: "${{ failure() }}" |
|
85 | 92 | name: Test report |
86 | 93 | path: app/build/reports |
87 | 94 |
|
| 95 | + - name: Upload Kotlin build report |
| 96 | + if: "${{ always() }}" |
| 97 | + |
| 98 | + with: |
| 99 | + name: Build report |
| 100 | + path: build/reports/kotlin-build/ |
| 101 | + |
88 | 102 | build-apks: |
89 | 103 | runs-on: ubuntu-latest |
90 | 104 | steps: |
@@ -117,7 +131,14 @@ jobs: |
117 | 131 | if: "${{ steps.service-changed.outputs.result == 'true' }}" |
118 | 132 | |
119 | 133 | with: |
120 | | - arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug |
| 134 | + arguments: assembleFreeDebug assembleNonFreeDebug |
| 135 | + |
| 136 | + - name: Upload Kotlin build report |
| 137 | + if: "${{ always() }}" |
| 138 | + |
| 139 | + with: |
| 140 | + name: Build report |
| 141 | + path: build/reports/kotlin-build/ |
121 | 142 |
|
122 | 143 | check-api: |
123 | 144 | runs-on: ubuntu-latest |
@@ -151,7 +172,14 @@ jobs: |
151 | 172 | if: "${{ steps.service-changed.outputs.result == 'true' }}" |
152 | 173 | |
153 | 174 | with: |
154 | | - arguments: --no-configuration-cache apiCheck |
| 175 | + arguments: apiCheck |
| 176 | + |
| 177 | + - name: Upload Kotlin build report |
| 178 | + if: "${{ always() }}" |
| 179 | + |
| 180 | + with: |
| 181 | + name: Build report |
| 182 | + path: build/reports/kotlin-build/ |
155 | 183 |
|
156 | 184 | lint-debug: |
157 | 185 | runs-on: ubuntu-latest |
@@ -185,7 +213,14 @@ jobs: |
185 | 213 | if: "${{ steps.service-changed.outputs.result == 'true' }}" |
186 | 214 | |
187 | 215 | with: |
188 | | - arguments: --no-configuration-cache lintDebug |
| 216 | + arguments: lintDebug |
| 217 | + |
| 218 | + - name: Upload Kotlin build report |
| 219 | + if: "${{ always() }}" |
| 220 | + |
| 221 | + with: |
| 222 | + name: Build report |
| 223 | + path: build/reports/kotlin-build/ |
189 | 224 |
|
190 | 225 | assemble-release-apks: |
191 | 226 | runs-on: ubuntu-latest |
@@ -219,4 +254,11 @@ jobs: |
219 | 254 | if: "${{ steps.service-changed.outputs.result == 'true' }}" |
220 | 255 | |
221 | 256 | with: |
222 | | - arguments: --no-configuration-cache aNFR |
| 257 | + arguments: aNFR |
| 258 | + |
| 259 | + - name: Upload Kotlin build report |
| 260 | + if: "${{ always() }}" |
| 261 | + |
| 262 | + with: |
| 263 | + name: Build report |
| 264 | + path: build/reports/kotlin-build/ |
0 commit comments