Publish the latest Android version code (#2085)

* feat(website): publish latest Android version code

* fix(website): select latest Android APK release
This commit is contained in:
Mohamed Boudra
2026-07-15 21:38:52 +08:00
committed by GitHub
parent 4a5630bfce
commit 319d9017c2
9 changed files with 283 additions and 134 deletions
+2
View File
@@ -1,4 +1,5 @@
import { createServerFn } from "@tanstack/react-start";
import { getWebsiteCacheContext } from "./cloudflare-cache";
import { getBlockingColdCache } from "./github-cache";
interface GitHubRepo {
@@ -38,6 +39,7 @@ function isStars(value: unknown): value is string {
export const getStarCount = createServerFn({ method: "GET" }).handler(async () => {
const stars = await getBlockingColdCache({
context: getWebsiteCacheContext(),
key: STARS_CACHE_KEY,
isValue: isStars,
fetchFresh: fetchStarCount,