Skip to content

Commit 7954ba5

Browse files
authored
Update android docs for nightly snapshots
After 2025-04-12, user can use any date of AAR they want.
1 parent 39274d8 commit 7954ba5

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

docs/source/using-executorch-android.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,20 @@ You can also directly specify an AAR file in the app. We upload pre-built AAR to
5858

5959
### Snapshots from main branch
6060

61-
| Date | AAR | SHASUMS |
62-
| ------- | --- | ------- |
63-
| 2025-02-27 | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/executorch-20250227/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/executorch-20250227/executorch.aar.sha256sums) |
61+
Starting from 2025-04-12, you can download nightly `main` branch snapshots:
62+
* `executorch.aar`: `https://ossci-android.s3.amazonaws.com/executorch/release/snapshot-YYYYMMDD/executorch.aar`
63+
* `executorch.aar.sha256sums`: `https://ossci-android.s3.amazonaws.com/executorch/release/snapshot-YYYYMMDD/executorch.aar.sha256sums`
64+
* Replace `YYYYMMDD` with the actual date you want to use.
65+
* AAR file is generated by [this workflow](https://github.com/pytorch/executorch/blob/c66b37d010c88a113560693b14dc6bd112593c11/.github/workflows/android-release-artifacts.yml#L14-L15).
66+
67+
For example:
68+
69+
```sh
70+
curl -O https://ossci-android.s3.amazonaws.com/executorch/release/snapshot-20250412/executorch.aar
71+
curl -O https://ossci-android.s3.amazonaws.com/executorch/release/snapshot-20250412/executorch.aar.sha256sums
72+
```
73+
74+
We aim to make every daily snapshot available and useable. However, for best stability, please use releases, not snapshots.
6475

6576
## Using AAR file
6677

0 commit comments

Comments
 (0)