mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 07:04:22 +00:00
Only keep lib/ in publish-libs
This commit is contained in:
parent
59c6eae5cc
commit
c875467c6c
1 changed files with 2 additions and 3 deletions
5
.github/workflows/publish-libs.yaml
vendored
5
.github/workflows/publish-libs.yaml
vendored
|
@ -30,7 +30,6 @@ jobs:
|
|||
run: |
|
||||
git config --global user.email "runner@gha.local"
|
||||
git config --global user.name "GitHub Action"
|
||||
# Remove r-a crates from the workspaces so we don't auto-publish them as well
|
||||
sed -i 's/"crates\/\*"//' ./Cargo.toml
|
||||
sed -i 's/"xtask\/"//' ./Cargo.toml
|
||||
# Only publish the crates under lib/
|
||||
sed -i 's|^members = .*$|members = ["lib/*"]|' Cargo.toml
|
||||
cargo workspaces publish --yes --exact --from-git --no-git-commit --allow-dirty
|
||||
|
|
Loading…
Reference in a new issue