Skip to content

Commit 1fa4003

Browse files
committed
ci(workflow): 更新Python版本至3.13并修复apt-get命令
修复apt-get命令缺少sudo的问题,同时将Python版本从3.12升级至3.13以使用最新特性
1 parent 76ec888 commit 1fa4003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ jobs:
3737
- name: 🐍 Set up Python
3838
uses: actions/setup-python@main
3939
with:
40-
python-version: "3.12"
40+
python-version: "3.13"
4141
cache: "pip"
4242
cache-dependency-path: "pyproject.toml"
4343
- name: 🔧 PyPI 配置
4444
run: |
4545
sudo apt-get install graphviz
46-
apt-get update && sudo apt-get upgrade
46+
sudo apt-get update && sudo apt-get upgrade
4747
pip install --upgrade pip
4848
pip install -ve .[doc,flows,dev]
4949
conda install -c conda-forge torchcodec

0 commit comments

Comments
 (0)