Skip to content

Commit 0e18f62

Browse files
xpqiuclaude
andcommitted
CI: upgrade Pages workflow actions to Node 24 majors
checkout v4->v6, setup-python v5->v6, upload-pages-artifact v3->v5, deploy-pages v4->v5. Clears the Node.js 20 deprecation (runner forces Node 24 on 2026-06-16). Verified the inputs we use (python-version, path) are unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d3b0e38 commit 0e18f62

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/static.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
# 抓取 GitHub star,生成 assets/js/gh-stars-data.js(仅用 Python 标准库,无需额外依赖)
2828
- name: Set up Python
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@v6
3030
with:
3131
python-version: '3.12'
3232

@@ -41,7 +41,7 @@ jobs:
4141

4242
# 这里直接上传整个仓库根目录作为 Pages 内容
4343
- name: Upload Pages artifact
44-
uses: actions/upload-pages-artifact@v3
44+
uses: actions/upload-pages-artifact@v5
4545
with:
4646
path: "." # 注意这里部署的是整个仓库根目录
4747

@@ -54,4 +54,4 @@ jobs:
5454
steps:
5555
- name: Deploy to GitHub Pages
5656
id: deployment
57-
uses: actions/deploy-pages@v4
57+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)