Fix Cargo.toml filtering to preserve botserver member
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
This commit is contained in:
parent
41b502ef9a
commit
c697b97943
1 changed files with 2 additions and 1 deletions
|
|
@ -48,7 +48,8 @@ jobs:
|
|||
|
||||
# Setup Cargo.toml
|
||||
cp ~/workspace/gb-ws/Cargo.toml .
|
||||
sed -i '/botapp\|botdevice\|bottest\|botui\|botbook\|botmodels\|botplugin\|bottemplates/d' Cargo.toml
|
||||
# Remove unwanted members but keep botserver and botlib
|
||||
grep -v '"botapp\|"botdevice\|"bottest\|"botui\|"botbook\|"botmodels\|"botplugin\|"bottemplates"' Cargo.toml > Cargo.toml.tmp && mv Cargo.toml.tmp Cargo.toml
|
||||
|
||||
# Build
|
||||
cargo build -p botserver
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue