```
Some checks failed
构建并部署 AI Agent 服务 / deploy (push) Failing after 2s

chore(deploy): 更新工作流依赖版本并添加深度获取配置

更新了以下内容:
- 将 actions/checkout 从 v4 升级到 v4.1.1,并添加 fetch-depth: 0 配置以支持完整历史
- 将 actions/setup-python 从 v4 升级到 v4.7.1
- 将 actions/cache 从 v3 升级到 v3.3.2
```
This commit is contained in:
2026-04-14 00:21:04 +08:00
parent 22cc9b1096
commit be2c536b16

View File

@@ -10,15 +10,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 检出代码
uses: actions/checkout@v4
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: 设置 Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v4.7.1
with:
python-version: '3.11'
- name: 缓存 pip 依赖
uses: actions/cache@v3
uses: actions/cache@v3.3.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirement.txt') }}