fix(ci): yaml syntax
This commit is contained in:
parent
ecfc9c18b4
commit
9d4673e9f7
@ -24,14 +24,14 @@ cargo_dependencies:
|
|||||||
image: reg.imvictor.tech/hub/rust:1.72.0-slim
|
image: reg.imvictor.tech/hub/rust:1.72.0-slim
|
||||||
script:
|
script:
|
||||||
- mkdir -vp ${CARGO_HOME:-$HOME/.cargo}
|
- mkdir -vp ${CARGO_HOME:-$HOME/.cargo}
|
||||||
- |
|
- >
|
||||||
cat << EOF | tee -a ${CARGO_HOME:-$HOME/.cargo}/config
|
cat << EOF | tee -a ${CARGO_HOME:-$HOME/.cargo}/config
|
||||||
[source.crates-io]
|
[source.crates-io]
|
||||||
replace-with = 'mirror'
|
replace-with = 'mirror'
|
||||||
|
|
||||||
[source.mirror]
|
[source.mirror]
|
||||||
registry = "sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"
|
registry = "sparse+https://mirrors.tuna.tsinghua.edu.cn/crates.io-index/"
|
||||||
EOF
|
EOF
|
||||||
- cargo install cargo-make wasm-pack wasm-opt
|
- cargo install cargo-make wasm-pack wasm-opt
|
||||||
- cd ./axum-websockify
|
- cd ./axum-websockify
|
||||||
- cargo fetch
|
- cargo fetch
|
||||||
|
Loading…
Reference in New Issue
Block a user