Skip to content

Commit 99a6b2b

Browse files
committed
🔧 fix ci to include runtime.wasm file for web export
1 parent 004ceed commit 99a6b2b

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ jobs:
7575
name: ⚙️ Setup Rust
7676
with:
7777
target: x86_64-unknown-linux-gnu
78-
cache-all-crates: true
79-
cache-workspace-crates: true
78+
cache-all-crates: false
79+
cache-workspace-crates: false
8080

8181
- name: ⚙️ Install dependencies
82-
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev libmp3lame-dev
82+
run: sudo apt-get update && sudo apt-get install -y libsdl2-dev libmp3lame-dev libjack-dev libpipewire-0.3-dev
8383

8484
- name: 🏗️ Build runtime (linux)
8585
run: cargo build -p runtime --target=x86_64-unknown-linux-gnu --release
@@ -257,11 +257,11 @@ jobs:
257257
ls -R ./windows
258258
ls -R ./macos
259259
ls -R ./web
260-
mv ./linux/* ./target/x86_64-unknown-linux-gnu/release/
261-
mv ./windows/* ./target/x86_64-pc-windows-msvc/release/
262-
mv ./macos/* ./target/aarch64-apple-darwin/release/
263-
mv ./web/docs/user-manual.pdf ./docs/
264-
mv ./web/* .
260+
mv -f ./linux/* ./target/x86_64-unknown-linux-gnu/release/
261+
mv -f ./windows/* ./target/x86_64-pc-windows-msvc/release/
262+
mv -f ./macos/* ./target/aarch64-apple-darwin/release/
263+
mv -f ./web/docs/* ./docs/
264+
mv -f ./web/target/wasm32-unknown-emscripten/release/* ./target/wasm32-unknown-emscripten/release/
265265
continue-on-error: true
266266

267267
- name: 📦 Generate release files

docs/user-manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ end
205205

206206
> ⚠️ `Coord.pxVec(Vec.V2(1,1))` points towards the bottom-right whereas `Coord.glVec(Vec.V2(1,1))` points towards the top-right!
207207
208-
`Graphics` contains a lot of other functions to draw images, text, arrows, or polygons. See [luau-api/graphics.luau](./luau-api/graphics.luau) for the full list.
208+
`Graphics` contains a lot of other functions to draw images, arrows, or polygons. See [luau-api/graphics.luau](./luau-api/graphics.luau) for the full list.
209209
All functions can use `Vec` or `ScreenPosition` / `ScreenVec` when relevant to draw things. Use the style you prefer!
210210

211211
# ⌨️ Interacting with the user

vectarine.code-workspace

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
"editor.defaultFormatter": "tamasfe.even-better-toml",
5959
"editor.formatOnSave": true
6060
},
61+
"[github-actions-workflow]": {
62+
"editor.formatOnSave": false
63+
},
6164
"[markdown]": {
6265
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
6366
"prettier.tabWidth": 2,

0 commit comments

Comments
 (0)