Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

build(native): let merging the warm-up be what warms it

esengineeb3e6e854c10
diff --git a/.github/workflows/native-deps-cache.yml b/.github/workflows/native-deps-cache.yml
index 5ca399d66..a16bd40f0 100644
--- a/.github/workflows/native-deps-cache.yml
+++ b/.github/workflows/native-deps-cache.yml
@@ -27,6 +27,11 @@ on:
paths:
# The only thing that invalidates the cache is the pins themselves.
- 'toolchain.manifest.json'
+ # And this file, so that merging it warms the cache once instead of leaving
+ # it cold until the pins next move or the weekly trigger comes round. A
+ # workflow_dispatch cannot stand in for that: dispatch only resolves against
+ # the default branch, so there is no way to run this before it is merged.
+ - '.github/workflows/native-deps-cache.yml'
schedule:
# Weekly, purely to keep the 7-day eviction clock from running out.
- cron: '0 3 * * 1'