Skip to content

Commit fe0524a

Browse files
committed
Fix CI
1 parent 6ed6f3a commit fe0524a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@ jobs:
4141
if [ "${BOB_LOCAL_SHA1}" != "${BOB_SHA1}" ]; then wget --progress=dot:mega -O build/bundle/bob.jar "https://d.defold.com/archive/${BOB_SHA1}/bob/bob.jar"; fi
4242
java -jar build/bundle/bob.jar --version
4343
44+
TITLE=$(awk -F "=" '/^title/ {gsub(/[ \r\n\t]/, "", $2); print $2}' game.project)
45+
4446
java -jar build/bundle/bob.jar --email foo@bar.com --auth 12345 --texture-compression true --bundle-output build/bundle/js-web --platform js-web --architectures wasm-web --archive --variant release resolve build bundle
45-
(cd build/bundle/js-web/* && zip -r ../../public/demo_no-sw_no-native-cache.zip .)
47+
(cd build/bundle/js-web/${TITLE} && zip -r ../../public/demo_no-sw_no-native-cache.zip .)
4648
4749
- name: Upload Result
4850
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)