From 1b6809c49e231392cb66761433c5c3495633ff18 Mon Sep 17 00:00:00 2001 From: zTgx <747674262@qq.com> Date: Fri, 24 Apr 2026 12:02:11 +0800 Subject: [PATCH] chore(ci): update documentation build target and remove crate publishing - Change documentation build target from 'vectorless' to 'vectorless-engine' - Remove the publish-crates job that published to crates.io - Update github-release job dependencies to only depend on publish-pypi --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 14 +------------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd70cf73..3df6d9ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Check documentation build - run: cargo doc -p vectorless --no-deps --all-features + run: cargo doc -p vectorless-engine --no-deps --all-features env: RUSTDOCFLAGS: -D warnings diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7f5c576..96320c53 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,18 +9,6 @@ env: CARGO_TERM_COLOR: always jobs: - # Publish Rust crate to crates.io - publish-crates: - name: Publish to crates.io - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - name: Publish vectorless crate - run: cargo publish -p vectorless - env: - CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - # Publish Python package to PyPI publish-pypi: name: Publish to PyPI @@ -40,7 +28,7 @@ jobs: github-release: name: GitHub Release runs-on: ubuntu-latest - needs: [publish-crates, publish-pypi] + needs: [publish-pypi] permissions: contents: write steps: