Repository navigation
Commit f5f1f75
committed
ADFA-4592: Set clean: false on build checkout for incremental :app builds
The real cause of the flat debug build time: actions/checkout defaults to
clean: true, which runs 'git clean -ffdx' at the start of every run and wipes
app/build/ (and every other module build/ dir), so :app is recompiled from
scratch each build and no incremental compilation ever happens. The rm -rf
app/build steps removed earlier were redundant with this.
Set clean: false on the build_apk checkout so build/ dirs persist across runs
on the self-hosted runner, enabling Gradle incremental compilation. Safe now
that the custom registerD8Task (which wrote untracked dex and caused the
original stale-artifact D8 crashes) has been removed in this PR.1 parent 19ee2a7 commit f5f1f75
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
0 commit comments