Bumps wasm-bindgen version (#3854)

* Bumps wasm-bindgen version

* Always run the publish job, just don't publish on PR

* Pin wasm-bindgen version when publishing
This commit is contained in:
Connor Fitzgerald authored and GitHub committed 2023-06-10 18:29:16 -04:00
1 parent 10172e1f38
commit 80b178fa56
3 files changed
+11 -5

No files matched your search

+9 -3
View File
@@ -2,8 +2,9 @@ name: Publish
on:
push:
branches:
- trunk
branches: ["*"]
pull_request:
merge_group:
env:
CARGO_INCREMENTAL: false
@@ -24,7 +25,10 @@ jobs:
run: rustup target add wasm32-unknown-unknown
- name: Install wasm-bindgen-cli
run: cargo +stable install wasm-bindgen-cli --version=0.2.84
run: cargo +stable install wasm-bindgen-cli --version=0.2.86
- name: Pin wasm-bindgen version
run: cargo update -p wasm-bindgen --precise 0.2.86
- name: Build WebGPU examples
run: cargo build --release --target wasm32-unknown-unknown
@@ -38,6 +42,7 @@ jobs:
- name: Deploy WebGPU examples
uses: JamesIves/github-pages-deploy-action@v4.4.2
if: github.ref == 'refs/heads/trunk'
with:
token: ${{ secrets.WEB_DEPLOY }}
folder: target/generated-gpu
@@ -60,6 +65,7 @@ jobs:
- name: Deploy WebGL examples
uses: JamesIves/github-pages-deploy-action@v4.4.2
if: github.ref == 'refs/heads/trunk'
with:
token: ${{ secrets.WEB_DEPLOY }}
folder: target/generated-gl
+1 -1
View File
@@ -127,7 +127,7 @@ glutin = "0.29.1"
console_error_panic_hook = "0.1.7"
console_log = "0.2"
js-sys = "0.3.63"
wasm-bindgen = "0.2.84"
wasm-bindgen = "0.2.86"
wasm-bindgen-futures = "0.4.34"
wasm-bindgen-test = "0.3"
web-sys = "0.3.61"
+1 -1
View File
@@ -106,7 +106,7 @@ objc = "0.2.5"
core-graphics-types = "0.1"
[target.'cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))'.dependencies]
wasm-bindgen = "0.2.84"
wasm-bindgen = "0.2.86"
web-sys = { version = "0.3.61", features = ["Window", "HtmlCanvasElement", "WebGl2RenderingContext", "OffscreenCanvas"] }
js-sys = "0.3.63"