From df5f1be802a367e3ae84cdf909312b6691fd1c36 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Mon, 4 Sep 2023 17:03:26 +0300 Subject: [PATCH] Fix web and release workflows failing to run --- .github/workflows/dev-web.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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