Fix workflow
All checks were successful
Build and test project / build-and-test (push) Successful in 1m44s
All checks were successful
Build and test project / build-and-test (push) Successful in 1m44s
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build & Test WASM
|
name: Build and test project
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ echo "WASM binary size: $(du -h kobopatch.wasm | cut -f1)"
|
|||||||
TS=$(date +%s)
|
TS=$(date +%s)
|
||||||
|
|
||||||
echo "Copying artifacts to $PUBLIC_DIR..."
|
echo "Copying artifacts to $PUBLIC_DIR..."
|
||||||
|
mkdir -p "$PUBLIC_DIR/wasm"
|
||||||
cp kobopatch.wasm "$PUBLIC_DIR/wasm/kobopatch.wasm"
|
cp kobopatch.wasm "$PUBLIC_DIR/wasm/kobopatch.wasm"
|
||||||
cp wasm_exec.js "$PUBLIC_DIR/js/wasm_exec.js"
|
cp wasm_exec.js "$PUBLIC_DIR/js/wasm_exec.js"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user