mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix web and release workflows failing to run
This commit is contained in:
parent
cf1681401f
commit
df5f1be802
2
.github/workflows/dev-web.yml
vendored
2
.github/workflows/dev-web.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
# Workaround for SharedArrayBuffer support on GitHub Pages
|
# Workaround for SharedArrayBuffer support on GitHub Pages
|
||||||
# See: https://github.com/godotengine/godot-docs/issues/7084
|
# See: https://github.com/godotengine/godot-docs/issues/7084
|
||||||
- name: Enable SharedArrayBuffer for GitHub Pages
|
- name: Enable SharedArrayBuffer for GitHub Pages
|
||||||
- run: |
|
run: |
|
||||||
cd ./build/web
|
cd ./build/web
|
||||||
curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js
|
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
|
sed -i 's#\( <script src="index.js"></script>\)# <script src="coi-serviceworker.js"></script>\n\1#g' index.html
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -199,7 +199,7 @@ jobs:
|
||||||
# Workaround for SharedArrayBuffer support on GitHub Pages
|
# Workaround for SharedArrayBuffer support on GitHub Pages
|
||||||
# See: https://github.com/godotengine/godot-docs/issues/7084
|
# See: https://github.com/godotengine/godot-docs/issues/7084
|
||||||
- name: Enable SharedArrayBuffer for GitHub Pages
|
- name: Enable SharedArrayBuffer for GitHub Pages
|
||||||
- run: |
|
run: |
|
||||||
cd ./build/web
|
cd ./build/web
|
||||||
curl -fsSL https://github.com/gzuidhof/coi-serviceworker/raw/master/coi-serviceworker.js > coi-serviceworker.js
|
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
|
sed -i 's#\( <script src="index.js"></script>\)# <script src="coi-serviceworker.js"></script>\n\1#g' index.html
|
||||||
|
|
Loading…
Reference in a new issue