diff options
| author | Shoyu Vanilla (Flint) <modulo641@gmail.com> | 2025-06-04 13:53:27 +0900 |
|---|---|---|
| committer | Shoyu Vanilla <modulo641@gmail.com> | 2025-06-04 14:19:18 +0900 |
| commit | cd38deb3ca2d472ec2f174c8f1202463b37e7da8 (patch) | |
| tree | 6740132bb0bcf17c83701de0590f38c424ca5406 /src/tools/rust-analyzer/.github | |
| parent | e5fb11ae3e9071f2a5cbd1850b6ef49b1b9b2034 (diff) | |
| download | rust-cd38deb3ca2d472ec2f174c8f1202463b37e7da8.tar.gz rust-cd38deb3ca2d472ec2f174c8f1202463b37e7da8.zip | |
ci: When autopublishing, remove `xtask` from workspace
Revert `cargo-workspaces` version fix
Diffstat (limited to 'src/tools/rust-analyzer/.github')
| -rw-r--r-- | src/tools/rust-analyzer/.github/workflows/autopublish.yaml | 4 | ||||
| -rw-r--r-- | src/tools/rust-analyzer/.github/workflows/publish-libs.yaml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/rust-analyzer/.github/workflows/autopublish.yaml b/src/tools/rust-analyzer/.github/workflows/autopublish.yaml index d3f0499e434..13b6078a3ed 100644 --- a/src/tools/rust-analyzer/.github/workflows/autopublish.yaml +++ b/src/tools/rust-analyzer/.github/workflows/autopublish.yaml @@ -54,8 +54,8 @@ jobs: cargo workspaces rename --from project-model project_model cargo workspaces rename --from test-fixture test_fixture cargo workspaces rename --from test-utils test_utils - # Remove library crates from the workspaces so we don't auto-publish them as well - sed -i 's/ "lib\/\*",//' ./Cargo.toml + # Remove library crates and xtask from the workspaces so we don't auto-publish them as well + sed -i 's/"xtask\\/",//; s/ "lib\/\*",//' ./Cargo.toml cargo workspaces rename ra_ap_%n find crates/rust-analyzer -type f -name '*.rs' -exec sed -i 's/rust_analyzer/ra_ap_rust_analyzer/g' {} + cargo workspaces publish --yes --force '*' --exact --no-git-commit --allow-dirty --skip-published custom 0.0.$(($RUN_NUMBER + 133)) diff --git a/src/tools/rust-analyzer/.github/workflows/publish-libs.yaml b/src/tools/rust-analyzer/.github/workflows/publish-libs.yaml index f2c8b6365b6..93ae5675a71 100644 --- a/src/tools/rust-analyzer/.github/workflows/publish-libs.yaml +++ b/src/tools/rust-analyzer/.github/workflows/publish-libs.yaml @@ -22,7 +22,7 @@ jobs: run: rustup update --no-self-update stable - name: Install cargo-workspaces - run: cargo install cargo-workspaces --version "0.3.6" + run: cargo install cargo-workspaces - name: Publish Crates env: |
