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 }}