From 46f27f491bfa484ec14c45d0c344c3478574916a Mon Sep 17 00:00:00 2001 From: Ziao Huang <71763696+amazing-fish@users.noreply.github.com> Date: Thu, 8 Jan 2026 19:50:34 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E5=A4=8D=20Windows=20?= =?UTF-8?q?=E6=89=93=E5=8C=85=E7=BC=93=E5=AD=98=E8=B7=AF=E5=BE=84=E8=AD=A6?= =?UTF-8?q?=E5=91=8A"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-exe.yml | 10 ++-------- anchor.md | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-exe.yml b/.github/workflows/build-exe.yml index e18e644..4f73a6b 100644 --- a/.github/workflows/build-exe.yml +++ b/.github/workflows/build-exe.yml @@ -12,8 +12,6 @@ permissions: jobs: build: runs-on: windows-latest - env: - PIP_CACHE_DIR: ${{ runner.temp }}\pip-cache steps: - name: 检出代码 @@ -24,14 +22,10 @@ jobs: with: python-version: '3.11' - - name: 准备 pip 缓存目录 - run: | - New-Item -ItemType Directory -Force -Path "$env:PIP_CACHE_DIR" | Out-Null - - name: 缓存 pip uses: actions/cache@v4 with: - path: ${{ env.PIP_CACHE_DIR }} + path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }} restore-keys: | ${{ runner.os }}-pip- @@ -39,7 +33,7 @@ jobs: - name: 安装依赖 run: | python -m pip install --upgrade pip - pip install pyinstaller PySide6 --cache-dir "$env:PIP_CACHE_DIR" + pip install pyinstaller PySide6 - name: 构建可执行文件 run: | diff --git a/anchor.md b/anchor.md index 4d3a7c1..8c34047 100644 --- a/anchor.md +++ b/anchor.md @@ -66,7 +66,6 @@ - 若确认无变更,提交说明需写明“锚点已复盘,无需更新”。 ## 最近约定变更 -- 2026-01-10:bugfix,修复 Windows 打包流程的 pip 缓存路径以避免缓存警告(不触发版本号)。 - 2026-01-09:refactor,GitHub Actions 打包流程增加 pip 缓存以提升构建速度(不触发版本号)。 - 2026-01-08:bugfix,调整新增任务按钮位置避免窄屏与排序选项重叠,版本更新至 `v1.7.3`。 - 2026-01-08:refactor,锚点流程拆分至协作约定,保持锚点聚焦技术路径与日志稳定性(不触发版本号)。