From 3322d5df712f5f7fa4f76fa231ef1c0ad0e60c42 Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Wed, 11 Sep 2024 13:17:18 +0800 Subject: [PATCH] ci: Don't publish with all features (#5108) Signed-off-by: Xuanwo --- .github/workflows/release_rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_rust.yml b/.github/workflows/release_rust.yml index fccba9d4a036..948336fa9967 100644 --- a/.github/workflows/release_rust.yml +++ b/.github/workflows/release_rust.yml @@ -71,7 +71,7 @@ jobs: # Only dryrun test upon core. if: matrix.package == 'core' working-directory: ${{ matrix.package }} - run: cargo publish --all-features --dry-run + run: cargo publish --dry-run env: LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }} @@ -79,7 +79,7 @@ jobs: working-directory: ${{ matrix.package }} # Only publish if it's a tag and the tag is not a pre-release if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref, '-') }} - run: cargo publish --all-features + run: cargo publish env: LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}