`GH action` : Use GITHUB_OUTPUT instead of set-output in github actions
- 主要语言
- Java
- 星标
- 7
- 派生
- 22
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Expected Behaviour
save-state and set-output commands used in GitHub Actions are deprecated and [GitHub recommends using environment files](https://github.blog/changelog/2023-07-24-github-actions-update-on-save-state-and-set-output-commands/).
This PR updates the usage of set-output to $GITHUB_OUTPUT
Instructions for envvar usage from GitHub docs:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter
### Actual Behaviour
### Reproduce Scenario (including but not limited to)
#### Steps to Reproduce
#### Platform and Version
#### Sample Code that illustrates the problem
#### Logs taken while reproducing problem
贡献指南
调研方向
在仓库的 GitHub Actions workflow 文件中搜索已弃用的 set-output 用法,然后阅读周围的 workflow 步骤和链接的 GitHub 文档。完成的标准是受影响的 outputs 使用 GITHUB_OUTPUT,且 workflows 仍然有效;未提及特定的测试文件,因此请在仓库允许的范围内验证 workflow 配置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github-actions
- 领域
- ci-cd
- Issue 类型
- 重构
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100