The `set-output` command is deprecated and will be disabled soon.

未关闭
#23 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
github-actions
领域
ci-cd

调研方向

从工作流代码片段中引用的 action dotnet/code-analysis@main 开始,定位使用已弃用命令 set-output 的位置。使用 ConsoleApp.csproj 运行所示的 GitHub Actions 配置,并确认不再发出警告。

由索引模型根据 Issue 内容生成。

描述

"Warning: The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/".
I am receiving the above warning when i use the below stage in my yaml file:
name: Run .NET Code Analysis
uses: dotnet/code-analysis@main
id: code-analysis
with:
project: ConsoleApp.csproj
build-breaking: true
And the above ConsoleApp is just printing a "Hello World" message!!

@mavasani Could you help me with the above issue? Thanks.

主要语言
JavaScript
星标
65
派生
23
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/code-analysis 的其他 Issue

查看 dotnet/code-analysis 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。