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