Unnamed repository; edit this file 'description' to name the repository.
Only keep lib/ in publish-libs
Laurențiu Nicola 2024-08-12
parent 59c6eae · commit c875467
-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 945cbf6767..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