diff --git a/.github/workflows/dev-web.yml b/.github/workflows/dev-web.yml index 69b44af99..6af8588c8 100644 --- a/.github/workflows/dev-web.yml +++ b/.github/workflows/dev-web.yml @@ -35,7 +35,7 @@ jobs: # Workaround for SharedArrayBuffer support on GitHub Pages # See: https://github.com/godotengine/godot-docs/issues/7084 - name: Enable SharedArrayBuffer for GitHub Pages - - run: | + run: | cd ./build/web curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js sed -i 's#\( \)# \n\1#g' index.html diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 187469cf0..28b5d864a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -199,7 +199,7 @@ jobs: # Workaround for SharedArrayBuffer support on GitHub Pages # See: https://github.com/godotengine/godot-docs/issues/7084 - name: Enable SharedArrayBuffer for GitHub Pages - - run: | + run: | cd ./build/web curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js sed -i 's#\( \)# \n\1#g' index.html