用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fabioc-aloha/Alex_Skill_Mall --skill github-actions-version-upgrades命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | github-actions-version-upgrades |
| description | Older action versions trigger deprecation warnings and will eventually break: |
| lastReviewed | 2026-04-30T00:00:00.000Z |
Older action versions trigger deprecation warnings and will eventually break:
# Deprecated - old action majors and pre-24 Node runners
- uses: actions/checkout@vOLD
- uses: actions/setup-node@vOLD
with:
node-version: '<24'
Proactively use current versions:
# Current ACT baseline
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '24'
| Action | Current | Node.js Runtime |
|---|---|---|
| actions/checkout | v6 | Node 24 |
| actions/setup-node | v6 | Node 24 |
| actions/upload-artifact | latest Node 24-compatible major | Node 24 |
| actions/download-artifact | latest Node 24-compatible major | Node 24 |
| actions/cache | latest Node 24-compatible major | Node 24 |
| actions/github-script | latest Node 24-compatible major | Node 24 |
# Update core actions to the Node 24-compatible majors
sed -i 's/actions\/checkout@v[0-5]/actions\/checkout@v6/g' .github/workflows/*.yml
sed -i 's/actions\/setup-node@v[0-5]/actions\/setup-node@v6/g' .github/workflows/*.yml
sed -i 's/actions\/upload-artifact@v[0-3]/actions\/upload-artifact@v4/g' .github/workflows/*.yml
sed -i 's/actions\/download-artifact@v[0-3]/actions\/download-artifact@v4/g' .github/workflows/*.yml
strategy:
matrix:
node-version: ['24']
# ACT baseline
node-version: '24'
# Check for old versions
grep -rn 'actions/.*@v[0-3]' .github/workflows/
# Should return nothing after upgrade
github-actions ci-cd maintenance node