Repository navigation
Commit ffb13bf
authored
Fix Android Maven Central publishing (#23190)
The Android release workflow has continued publishing AARs to S3, but
releases after 1.4.0 have not created deployments in Maven Central. The
release jobs reported success, so this failed silently.
The Maven plugin was still pinned to 0.31.0. Version 0.33 changed
parameterless `publishToMavenCentral()` to use the Central Portal
instead of the retired legacy OSSRH service, and 0.34 updates to the
current Portal APIs. This PR upgrades to 0.34.0 while deliberately
retaining the upload-only task: it creates a deployment for release
owners to review and publish manually in the Central Portal.
A manual Maven retry exposed a separate problem. Its container
initialized successfully, but the workflow reran generic Linux setup and
failed because the old `torchao==0.18.0.dev20260729` wheel is
unavailable. The final `Executing the custom container implementation
failed` line was the job wrapper reporting that script failure, not the
root cause.
This change:
- routes uploads to the Central Portal with the updated plugin;
- keeps publication manual by using `publishToMavenCentral`;
- adds the Central Portal review link to the job summary;
- separates the S3 existence check from Maven retry handling, so an
existing S3 AAR does not suppress a Maven retry;
- preserves existing S3 artifacts during Maven-only retries;
- removes the redundant failing Linux setup; and
- adds an optional source ref so a released tag can be rebuilt exactly.
Validation: Ruby YAML parsing and `git diff --check`.
This PR was authored with Claude.1 parent a318382 commit ffb13bf
2 files changed
Lines changed: 42 additions & 11 deletions
File tree
- .github/workflows
- extension/android/executorch_android
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
28 | | - | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
31 | 40 | | |
32 | 41 | | |
33 | 42 | | |
| |||
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| 61 | + | |
52 | 62 | | |
53 | 63 | | |
54 | 64 | | |
| |||
57 | 67 | | |
58 | 68 | | |
59 | 69 | | |
| 70 | + | |
60 | 71 | | |
61 | 72 | | |
62 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
63 | 78 | | |
64 | 79 | | |
| 80 | + | |
65 | 81 | | |
66 | 82 | | |
67 | 83 | | |
68 | 84 | | |
69 | 85 | | |
70 | | - | |
71 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
72 | 94 | | |
| 95 | + | |
73 | 96 | | |
74 | 97 | | |
75 | 98 | | |
| |||
86 | 109 | | |
87 | 110 | | |
88 | 111 | | |
89 | | - | |
| 112 | + | |
90 | 113 | | |
91 | 114 | | |
92 | 115 | | |
| |||
97 | 120 | | |
98 | 121 | | |
99 | 122 | | |
100 | | - | |
| 123 | + | |
101 | 124 | | |
102 | 125 | | |
103 | | - | |
104 | 126 | | |
105 | 127 | | |
106 | 128 | | |
| |||
157 | 179 | | |
158 | 180 | | |
159 | 181 | | |
160 | | - | |
| 182 | + | |
| 183 | + | |
161 | 184 | | |
162 | 185 | | |
163 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
164 | 192 | | |
165 | 193 | | |
166 | 194 | | |
167 | 195 | | |
168 | | - | |
| 196 | + | |
| 197 | + | |
169 | 198 | | |
170 | 199 | | |
171 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments