Skip to content

Commit 26288d7

Browse files
authored
Fix preview build failing (emilk#5756)
The preview build randomly started failing: https://github.com/emilk/egui/actions/runs/13633368357/job/38106240555?pr=5755
1 parent 40bf217 commit 26288d7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/preview_build.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ jobs:
1616
build:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
20-
- run: rustup toolchain install stable --profile minimal --target wasm32-unknown-unknown
19+
- uses: actions/checkout@v4
20+
- uses: dtolnay/rust-toolchain@master
21+
with:
22+
toolchain: 1.81.0
23+
targets: wasm32-unknown-unknown
2124
- uses: Swatinem/rust-cache@v2
2225
with:
2326
prefix-key: "pr-preview-"

0 commit comments

Comments
 (0)