From c875467c6c2d51cf0170e832cd3269e804336839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 12 Aug 2024 13:45:38 +0300 Subject: [PATCH] Only keep lib/ in publish-libs --- .github/workflows/publish-libs.yaml | 5 ++--- 1 file 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 "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