From 7307791314c6f7453d29c53214cc90fa1ef54b25 Mon Sep 17 00:00:00 2001 From: coolxitech Date: Sat, 13 Dec 2025 13:41:57 +0800 Subject: [PATCH] =?UTF-8?q?chore(build):=20=E6=9B=B4=E6=96=B0=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=84=9A=E6=9C=AC=E5=8C=85=E5=90=AB=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 Windows 打包命令中的 dist 目录替换为 docs 目录 - 将 Linux/macOS 打包命令中的 dist/ 目录替换为 docs/ 目录 - 确保所有平台的打包流程统一使用 docs 目录 - 保持构建产物的一致性和完整性 - 避免因目录变更导致的打包遗漏问题 --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b3d6ea7..8e35655 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,11 +53,11 @@ jobs: - name: Package Assets (Windows) if: matrix.os == 'windows-latest' - run: Compress-Archive -Path "${{ matrix.executable }}", "dist" -DestinationPath "${{ matrix.asset_name }}" + run: Compress-Archive -Path "${{ matrix.executable }}", "docs" -DestinationPath "${{ matrix.asset_name }}" - name: Package Assets (Linux/macOS) if: matrix.os != 'windows-latest' - run: tar -czvf ${{ matrix.asset_name }} ${{ matrix.executable }} dist/ + run: tar -czvf ${{ matrix.asset_name }} ${{ matrix.executable }} docs/ - name: Upload Artifact uses: actions/upload-artifact@v4