找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2765|回复: 27

P3TERX / Actions-OpenWrt 在线编译固件 The `set-output` command is is deprecated

[复制链接]
发表于 2022-12-2 15:12 | 显示全部楼层 |阅读模式
本帖最后由 fangfang22 于 2022-12-2 21:39 编辑
  1. build
  2. Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: GitRML/delete-workflow-runs@main
复制代码


  1. build
  2. 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/
复制代码


有这2个提示,请问怎么修改,或推荐下修改后的源码仓库地址,谢谢。
我的恩山、我的无线 The best wifi forum is right here.
发表于 2022-12-2 15:48 | 显示全部楼层
set-output xxxxx,改成"xxxxx" >> $GITHUB_OUTPUT
官方说明是这个意思,具体我还没去改

点评

我试过改,但是失败了,所以来求助。  详情 回复 发表于 2022-12-2 15:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-12-2 15:56 | 显示全部楼层
badcrazy 发表于 2022-12-2 15:48
set-output xxxxx,改成"xxxxx" >> $GITHUB_OUTPUT
官方说明是这个意思,具体我还没去改

只按它提示改,我试过了,但是失败了,所以来求助。

点评

老的代码还能用,上午还在用,看到你的帖子我就修改了,编译也没问题 https://github.com/FunctionXJB/Actions-OpenWrt/blob/main/.github/workflows/build-openwrt.yml  详情 回复 发表于 2022-12-2 17:37
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-2 17:37 | 显示全部楼层
fangfang22 发表于 2022-12-2 15:56
只按它提示改,我试过了,但是失败了,所以来求助。

老的代码还能用,上午还在用,看到你的帖子我就修改了,编译也没问题

https://github.com/FunctionXJB/A ... s/build-openwrt.yml

点评

兄弟,主要改哪几个参数啊?  发表于 2023-1-30 10:48
谢谢你的帮助。 我看了你的网页 https://github.com/FunctionXJB/Actions-OpenWrt/actions/runs/3600038559 现在只有  详情 回复 发表于 2022-12-2 19:30
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-12-2 19:30 | 显示全部楼层
本帖最后由 fangfang22 于 2022-12-2 19:44 编辑
嘉哥 发表于 2022-12-2 17:37
老的代码还能用,上午还在用,看到你的帖子我就修改了,编译也没问题

https://github.com/FunctionXJB ...

谢谢你的帮助。我对照你的已经修改了。

我看了你的链接 https://github.com/FunctionXJB/A ... ons/runs/3600038559

现在只有这个提示了。请问你能解决吗?

  1. build Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: GitRML/delete-workflow-runs@main
复制代码

点评

先fork这个https://github.com/GitRML/delete-workflow-runs 修改action.yaml中node12为node16,再把你actions-openwrt中GitRML/delete-workflow-runs改为你自己的XXX/delete-workflow-runs 可以参考我的 h  详情 回复 发表于 2022-12-2 23:11
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-2 23:11 | 显示全部楼层
fangfang22 发表于 2022-12-2 19:30
谢谢你的帮助。我对照你的已经修改了。

我看了你的链接 https://github.com/FunctionXJB/A ... ons/ru ...

先fork这个https://github.com/GitRML/delete-workflow-runs


修改action.yaml中node12为node16,再把你actions-openwrt中GitRML/delete-workflow-runs改为你自己的XXX/delete-workflow-runs

可以参考我的
https://github.com/FunctionXJB/Build-Openwrt/blob/main/.github/workflows/build-openwrt.yml
https://github.com/FunctionXJB/delete-workflow-runs/blob/main/action.yaml
https://github.com/FunctionXJB/Build-Openwrt/actions/runs/3602092385

点评

感谢感谢,我也改好了,没有任何报错  详情 回复 发表于 2023-2-8 17:53
大佬 又有新提示 buildNode.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/  详情 回复 发表于 2022-12-26 21:58
终于解决掉了这两个问题,感谢大佬,666  详情 回复 发表于 2022-12-12 00:53
感谢你的回复和帮助  详情 回复 发表于 2022-12-3 00:17

评分

参与人数 1恩山币 +1 收起 理由
人见人爱 + 1 强大的恩山!(以下重复1万次)

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2022-12-3 00:17 | 显示全部楼层
本帖最后由 fangfang22 于 2022-12-3 00:24 编辑

感谢你的回复和帮助,已经懂了你的意思,修改了。再次感谢。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-12 00:53 | 显示全部楼层
嘉哥 发表于 2022-12-2 23:11
先fork这个https://github.com/GitRML/delete-workflow-runs

终于解决掉了这两个问题,感谢大佬,666
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-26 21:58 | 显示全部楼层

大佬 又有新提示

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/20 ... instead-of-node12/. Please update the following actions to use Node.js 16: dev-drprasad/delete-older-releases@v0.1.0


dev-drprasad/delete-older-releases这个里面代码已经改成16了,如何解决




点评

把提醒的页面发我看下  详情 回复 发表于 2022-12-27 09:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-27 09:17 | 显示全部楼层
人见人爱 发表于 2022-12-26 21:58
大佬 又有新提示

Node.js 12 actions are deprecated. For more information see: https://github.blo ...

把提醒的页面发我看下

点评

自动更新不能用了,这个要修改哪些?  详情 回复 发表于 2023-1-7 20:55
我已经自己找问题所在地方,自己改好了  详情 回复 发表于 2022-12-27 22:59
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2022-12-27 22:59 | 显示全部楼层
本帖最后由 人见人爱 于 2022-12-27 23:05 编辑
嘉哥 发表于 2022-12-27 09:17
把提醒的页面发我看下

我已经自己找问题所在地方,自己改好了



dev-drprasad/delete-older-releases@v0.1.0     问题就是v0.1.0这里,在GitHub 搜索dev-drprasad/delete-older-releases,然后我发现有分支,v0.1.0这个分支还是node1.2,而v0.2.1这个分支就是node16,所以,我将 dev-drprasad/delete-older-releases@v0.1.0 改成dev-drprasad/delete-older-releases@v0.2.1就不出现提示

点评

我来试试水。~  详情 回复 发表于 2023-3-10 20:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-1-7 20:55 | 显示全部楼层
嘉哥 发表于 2022-12-27 09:17
把提醒的页面发我看下

自动更新不能用了,这个要修改哪些?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-2-8 17:53 | 显示全部楼层
嘉哥 发表于 2022-12-2 23:11
先fork这个https://github.com/GitRML/delete-workflow-runs

感谢感谢,我也改好了,没有任何报错
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-3-10 20:56 | 显示全部楼层
人见人爱 发表于 2022-12-27 22:59
我已经自己找问题所在地方,自己改好了

我来试试水。~
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2023-3-14 16:42 | 显示全部楼层
我来总结一下:
第一步:
先fork这个https://github.com/GitRML/delete-workflow-runs
修改action.yaml中node12为node16,再把你actions-openwrt中GitRML/delete-workflow-runs改为你自己的XXX/delete-workflow-runs
第二步:
dev-drprasad/delete-older-releases@v0.1.0修改成dev-drprasad/delete-older-releases@v0.2.0或者dev-drprasad/delete-older-releases@v0.2.1
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 21:34

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表