Skip to content

fix(ci): resolve GitHub Actions warnings#303

Merged
alphagocc merged 1 commit into
Project-LemonLime:masterfrom
ZnPdCo:fix/ci-fix-github-actions-warnings
May 13, 2026
Merged

fix(ci): resolve GitHub Actions warnings#303
alphagocc merged 1 commit into
Project-LemonLime:masterfrom
ZnPdCo:fix/ci-fix-github-actions-warnings

Conversation

@ZnPdCo
Copy link
Copy Markdown
Contributor

@ZnPdCo ZnPdCo commented May 11, 2026

GitHub Actions 已宣布弃用 Node.js 20 运行时,当前 CI 中多个 Action 仍运行在 Node.js 20 上,导致产生弃用警告。

更新到 Node.js 24,同时由于 ilammy/msvc-dev-cmd 已不再维护,不支持 Node.js 24,故更换为 TheMrMilchmann/setup-msvc-dev@v4.0.0

移除了 install-qt-action@v4mirrorcached,这些已经过时,并启用 cache: true

删除 brew install ninja pkg-config 步骤,这些已经预装不需要额外下载

@ZnPdCo ZnPdCo force-pushed the fix/ci-fix-github-actions-warnings branch from 6813b45 to 21daae7 Compare May 11, 2026 06:14
@ZnPdCo ZnPdCo marked this pull request as draft May 11, 2026 06:17
@ZnPdCo ZnPdCo force-pushed the fix/ci-fix-github-actions-warnings branch from 21daae7 to dce00a3 Compare May 11, 2026 06:23
- actions/setup-python@v4 -> @v6 (Node.js 24 compatible)
- actions/setup-node@v4 -> @v6 (Node.js 24 compatible)
- ilammy/msvc-dev-cmd@v1 -> TheMrMilchmann/setup-msvc-dev@v4.0.0 (Node.js 24 runtime)
- Remove invalid 'mirror' input from install-qt-action (removed in v4)
- Remove invalid 'cached' input from install-qt-action (renamed to 'cache')
- Enable built-in cache in install-qt-action, remove redundant actions/cache step
- Remove unnecessary 'brew install ninja pkg-config' step on macOS (pre-installed)
@ZnPdCo ZnPdCo force-pushed the fix/ci-fix-github-actions-warnings branch from dce00a3 to eae936b Compare May 11, 2026 06:32
@ZnPdCo ZnPdCo marked this pull request as ready for review May 11, 2026 06:35
@alphagocc alphagocc merged commit ab9289c into Project-LemonLime:master May 13, 2026
19 checks passed
@ZnPdCo
Copy link
Copy Markdown
Contributor Author

ZnPdCo commented May 13, 2026

为啥这个 ci 一会儿能过一会儿不能过 🤔

@alphagocc
Copy link
Copy Markdown
Member

测试有问题,我修不来

@ZnPdCo
Copy link
Copy Markdown
Contributor Author

ZnPdCo commented May 13, 2026

windows 挂和 linux 挂的原因好像还不一样,linux 的好像在下载依赖阶段就挂了。

@ZnPdCo
Copy link
Copy Markdown
Contributor Author

ZnPdCo commented May 13, 2026

而且我看好像 028cf9c 这次提交就没挂,这是因为这个问题是概率性触发的吗?那很有趣了

@ZnPdCo
Copy link
Copy Markdown
Contributor Author

ZnPdCo commented May 13, 2026

linux 那个,是不是因为昨天更新了一个包:

image

导致挂了

@alphagocc
Copy link
Copy Markdown
Member

windows 那个应该是概率性的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants