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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
ci: the editor checkout tries again after a pause when GitHub refuses the deploy key
yhhea7c1539f300
diff --git a/.github/actions/editor-checkout/action.yml b/.github/actions/editor-checkout/action.ymlindex 52014e1e2..8dff645c8 100644--- a/.github/actions/editor-checkout/action.yml+++ b/.github/actions/editor-checkout/action.yml@@ -43,9 +43,15 @@ runs:# .gitmodules names the https URL so a developer with account access can# clone it without a key; the deploy key is SSH-only, hence the rewrite.git config --global url."[email protected]:esengine/estella-editor".insteadOf "https://github.com/esengine/estella-editor"- if [ "${HISTORY}" = full ]; then- git submodule update --init desktop- else- git submodule update --init --depth 1 desktop- fi+ depth="--depth 1"+ if [ "${HISTORY}" = full ]; then depth=""; fi+ # GitHub now and then answers a valid deploy key with "Permission denied+ # (publickey)" when several jobs dial at once; git's own retry comes too soon.+ for wait in 10 30 60 0; do+ # shellcheck disable=SC2086+ git submodule update --init $depth desktop && break+ [ "$wait" = 0 ] && exit 1+ echo "::warning::Fetching the editor failed; trying again in ${wait}s."+ sleep "$wait"+ donetest -f desktop/package.json