1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 00:59:47 +00:00

Fix web and release workflows failing to run

This commit is contained in:
Emmanouil Papadeas 2023-09-04 17:03:26 +03:00
parent cf1681401f
commit df5f1be802
2 changed files with 2 additions and 2 deletions

View file

@ -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#\( <script src="index.js"></script>\)# <script src="coi-serviceworker.js"></script>\n\1#g' index.html

View file

@ -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#\( <script src="index.js"></script>\)# <script src="coi-serviceworker.js"></script>\n\1#g' index.html