@@ -33,35 +33,30 @@ jobs:
3333 with :
3434 egress-policy : audit # TODO: change to 'egress-policy: block' after couple of runs
3535 - name : Checkout
36- uses : actions/checkout@main
36+ uses : actions/checkout@v4
3737 - name : 🐍 Set up Python
38- uses : actions/setup-python@main
38+ uses : actions/setup-python@v5
3939 with :
4040 python-version : " 3.12"
4141 cache : " pip"
4242 cache-dependency-path : " pyproject.toml"
43- - name : 🔧 PyPI 配置
43+ - name : 🔧 环境与依赖
4444 run : |
45- sudo apt-get install graphviz
46- apt-get update && sudo apt-get upgrade
47- pip install --upgrade pip
48- pip install -ve .[doc,dev] --upgrade
49- git clone --recursive https://github.com/xinetzone/maple-font.git
50- cd maple-font
51- pip install -ve .
52- maple-font build --full
53- conda install -c conda-forge pandoc compilers podman
45+ sudo apt-get update
46+ sudo apt-get install -y graphviz
47+ python -m pip install --upgrade pip
48+ pip install .[doc,dev] --upgrade
5449 - name : 🔧 Build HTML
5550 run : |
5651 invoke doc
5752 - name : Setup Pages
58- uses : actions/configure-pages@main
53+ uses : actions/configure-pages@v5
5954 - name : Upload artifact
60- uses : actions/upload-pages-artifact@main
55+ uses : actions/upload-pages-artifact@v2
6156 with :
6257 # Upload entire repository
6358 path : ' doc/_build/html/'
6459 - name : 🚀 Deploy to GitHub Pages
6560 id : deployment
66- uses : actions/deploy-pages@main
61+ uses : actions/deploy-pages@v4
6762 # uses: peaceiris/[email protected]
0 commit comments