Commit 0407483
committed
fix(ci): build the Android APK on EAS instead of on the runner
The workflow compiled the whole app locally on a 2-core GitHub runner with no
timeout. Runs took hours and were routinely cancelled — the last published APK
is from February, so in practice there has been no Android build for months.
Three fixes: build in the cloud and download the artifact; drop the JDK and
Android SDK setup that a cloud build never uses; add a timeout so a hang is
bounded rather than sitting until GitHub's six-hour limit.
The APK is also attached to every run as a workflow artifact, so a build off
any branch is installable. Previously only a push to main produced anything —
and the upload step lacked the branch guard its release step had, so every dev
run was going to fail after the build had already succeeded.1 parent fb51faa commit 0407483
1 file changed
Lines changed: 31 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 36 | + | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
| |||
52 | 49 | | |
53 | 50 | | |
54 | 51 | | |
| 52 | + | |
| 53 | + | |
55 | 54 | | |
56 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
57 | 75 | | |
58 | 76 | | |
59 | 77 | | |
| |||
82 | 100 | | |
83 | 101 | | |
84 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
85 | 106 | | |
| 107 | + | |
86 | 108 | | |
87 | 109 | | |
88 | 110 | | |
| |||
0 commit comments