Skip to content

Commit

Permalink
Publish examples to wgpu.rs on updates to trunk branch instead of gecko
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-hansen committed May 5, 2023
1 parent 0f0044f commit 078b6ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish
on:
push:
branches:
- gecko
- trunk

env:
CARGO_INCREMENTAL: false
Expand All @@ -21,10 +21,12 @@ jobs:
persist-credentials: false

- name: Install Rust WASM target
run: rustup target add wasm32-unknown-unknown
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown

- name: Install wasm-bindgen-cli
run: cargo install wasm-bindgen-cli --version=0.2.83
run: cargo install wasm-bindgen-cli --version=0.2.84

- name: Build WebGPU examples
run: cargo build --package wgpu --release --target wasm32-unknown-unknown --examples
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ Bottom level categories:
- Fix crash on dropping `wgpu::CommandBuffer`. By @wumpf in [#3726](https://github.com/gfx-rs/wgpu/pull/3726).
- Use `u32`s internally for bind group indices, rather than `u8`. By @ErichDonGubler in [#3743](https://github.com/gfx-rs/wgpu/pull/3743).

### Examples

#### General

- Publish examples to wgpu.rs on updates to trunk branch instead of gecko. By @paul-hansen in [#3750](https://github.com/gfx-rs/wgpu/pull/3750)

## v0.16.0 (2023-04-19)

### Major changes
Expand Down

0 comments on commit 078b6ab

Please sign in to comment.