From 22109d8b308ee351a97a3f3f6b9d483eb006e333 Mon Sep 17 00:00:00 2001 From: YuWuKunCheng Date: Sat, 30 May 2026 12:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=20=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9a2a4a7..023497b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,7 +71,7 @@ jobs: - name: Lint 检查 if: steps.check.outputs.exists == 'false' working-directory: chanlun - run: cargo clippy -- -D warnings + run: cargo clippy - name: 运行测试 if: steps.check.outputs.exists == 'false' @@ -81,7 +81,7 @@ jobs: - name: 验证打包 if: steps.check.outputs.exists == 'false' working-directory: chanlun - run: cargo package --dry-run + run: cargo publish --dry-run --allow-dirty - name: 登录 crates.io if: steps.check.outputs.exists == 'false' @@ -90,7 +90,7 @@ jobs: - name: 发布 chanlun 至 crates.io if: steps.check.outputs.exists == 'false' working-directory: chanlun - run: cargo publish + run: cargo publish --allow-dirty # ============================================================ # 2. 构建 wheel — Linux x86_64 (manylinux)