Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.github/workflows/publish-libs.yaml')
-rw-r--r--.github/workflows/publish-libs.yaml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/publish-libs.yaml b/.github/workflows/publish-libs.yaml
index 34ca53e2e5..f1533bf26e 100644
--- a/.github/workflows/publish-libs.yaml
+++ b/.github/workflows/publish-libs.yaml
@@ -30,7 +30,6 @@ jobs:
run: |
git config --global user.email "[email protected]"
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