mirror of
https://github.com/DefectingCat/rua-list
synced 2025-07-15 16:51:31 +00:00
Update .gitlab-ci.yml file
This commit is contained in:
@ -2,18 +2,6 @@ stages:
|
||||
- build
|
||||
- release
|
||||
|
||||
build:pre:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
script:
|
||||
- mkdir $HOME/.cargo
|
||||
- echo "[source.crates-io]" >> $HOME/.cargo/config
|
||||
- echo "replace-with = 'ustc'" >> $HOME/.cargo/config
|
||||
- echo "" >> $HOME/.cargo/config
|
||||
- echo "[source.ustc]" >> $HOME/.cargo/config
|
||||
- echo "registry = \"sparse+https://mirrors.ustc.edu.cn/crates.io-index/\"" >> $HOME/.cargo/config
|
||||
- mkdir public
|
||||
|
||||
build:linux-gnu-amd64:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
|
Reference in New Issue
Block a user