From 28fabc9d9bca99acd1e386d75c0cd6bb40f00d49 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Mon, 4 Sep 2023 17:15:46 +0300 Subject: [PATCH] [CI] Attempt to fix Web builds --- .github/workflows/dev-web.yml | 1 + .github/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/dev-web.yml b/.github/workflows/dev-web.yml index 6af8588c8..e94655dec 100644 --- a/.github/workflows/dev-web.yml +++ b/.github/workflows/dev-web.yml @@ -37,6 +37,7 @@ jobs: - name: Enable SharedArrayBuffer for GitHub Pages run: | cd ./build/web + sudo apt-get install -y curl curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js sed -i 's#\( \)# \n\1#g' index.html - name: Deploy 🚀 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28b5d864a..42edaba95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -201,6 +201,7 @@ jobs: - name: Enable SharedArrayBuffer for GitHub Pages run: | cd ./build/web + sudo apt-get install -y curl curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js sed -i 's#\( \)# \n\1#g' index.html - name: Deploy 🚀