From ab4da85c74bbd2c1b149e115db3bb34df6f78faa Mon Sep 17 00:00:00 2001 From: Julie Dujardin Date: Sat, 3 Aug 2024 17:52:31 +0200 Subject: [PATCH] ci: try to fix sed? --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 92151a2..397a5d9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -202,7 +202,7 @@ jobs: rm wasm32/index.side.wasm # ugly hack to force godot to pull the engine from another domain build_type=${{ matrix.build_type }} - sed -i "s/{{{DIR}}}/${build_type}_${GODOT_VERSION}_${engine_hash[1]}/" deploy/templates/readAsyncNew + sed -i -e "s/{{{DIR}}}/${build_type}_${GODOT_VERSION}_${engine_hash[1]}/g" deploy/templates/readAsyncNew sed -e '/readAsync = (url, onload, onerror) => {/{r readAsyncNew' -e 'd;}' wasm32/index.js > _index.js mv _index.js wasm32/index.js - name: Publish to Cloudflare Pages