mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Auto merge of #17862 - lnicola:publish-libs-members, r=lnicola
Only keep lib/ in publish-libs Follow-up to #17860, see https://github.com/rust-lang/rust-analyzer/actions/runs/10350212090/job/28646162590.
This commit is contained in:
commit
a13f330060
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