mirror of https://codeberg.org/topola/topola.git
ci(build_wasm): `cargo binstall trunk` instead of installing from source
This is intended to make the `build_wasm` CI check complete more quickly.
This commit is contained in:
parent
a3f744cce8
commit
607fa056a4
|
|
@ -12,9 +12,11 @@ steps:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
CARG_TERM_COLOR: always
|
CARG_TERM_COLOR: always
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get -y install curl
|
||||||
|
- curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
|
||||||
|
- cargo binstall --no-confirm trunk
|
||||||
- rustup default "$CHANNEL"
|
- rustup default "$CHANNEL"
|
||||||
- rustup target add wasm32-unknown-unknown
|
- rustup target add wasm32-unknown-unknown
|
||||||
- cargo install --locked trunk
|
|
||||||
- trunk build
|
- trunk build
|
||||||
when:
|
when:
|
||||||
event: [pull_request, push, tag]
|
event: [pull_request, push, tag]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue