Skip to content

Commit 7021247

Browse files
committed
ci: fix web version building
1 parent 8fdc366 commit 7021247

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/spring.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,18 @@ jobs:
2525
tar xvf calm.tgz --directory=calm
2626
ls -lah calm
2727
export PATH=$PATH:$(pwd)/calm/
28+
# we don't need ogg in wasm,
29+
# since we are using web audio
30+
rm assets/*.ogg
2831
export APP_NAME=Maze
29-
# export REBUILD_WASM_P=yes
32+
# we need to rebuild wasm,
33+
# since we are using custom fonts
34+
export REBUILD_WASM_P=yes
3035
calm publish-web
36+
# restore audio files,
37+
# copy them into web folder
38+
git restore assets/*.ogg
39+
cp -R assets ./web/assets
3140
ls -lah .
3241
zip -r -9 ${APP_NAME}-web.zip ./web
3342
cp *.zip ../../
@@ -89,7 +98,7 @@ jobs:
8998
export PATH=$PATH:$(pwd)/calm/
9099
export APP_ICON="$(pwd)/images/app.icns"
91100
export DMG_ICON="$(pwd)/images/dmg.icns"
92-
export APP_VERSION=0.0.2
101+
export APP_VERSION=0.0.3
93102
export APP_ID=com.vitovan.maze
94103
export APP_NAME=Maze
95104
calm publish

0 commit comments

Comments
 (0)