From 23ab287707ac0b781fd3f91567d109a9cd04544c Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Wed, 11 Sep 2024 00:38:00 +0800 Subject: [PATCH] ci: Don't publish with all features 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 }}