Commit 3bdc7f7
修复 GitHub Actions Pages 部署:setup-python 指定 cache 路径
setup-python 的 cache: pip 默认查找 requirements.txt / pyproject.toml,
我们用的是 requirements-docs.txt,需要显式指定 cache-dependency-path,
否则会报 "No file matched to [**/requirements.txt or **/pyproject.toml]"
导致 build 失败。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ec0a8b9 commit 3bdc7f7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments