【发布时间】:2021-02-22 20:26:59
【问题描述】:
当前的add-path 命令将于 11 月 16 日弃用。我尝试按照他们的新instructions 并使用echo "/path/to/dir" >> $GITHUB_PATH 添加路径,但它不起作用。什么是正确的命令?我正在 Windows 上构建。
我在 github 操作上看到的错误是 Error: The add-path command is deprecated and will be disabled on November 16th. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
【问题讨论】:
标签: github github-actions