尝试使用GitHub操作创建AWS的CI/CD管道时遇到此错误
在尝试使用GitHub操作为.NET Core项目创建CI/CD管道时,我遇到了以下错误。
有人可以解释如何解决这个问题吗?被困在这里呆了很长时间,我只能在网上找到对此错误的PowerShell引用。
[编辑]: 按建议进行更改,但现在我得到了这个错误。 我不明白系统正在尝试找到哪个文件。
I ran into the following error while trying to create a CI/CD pipeline for a .NET Core project using Github Actions.
Can someone explain how to resolve this? Been stuck here for quite some time and I could only find PowerShell references to this error online.
[edit]:
Made the changes as suggested but now I get this error.
I don't get which file the system is trying to find.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这里的问题是两个powershell变量内的结肠。您必须将PowerShell脚本中的行更改为:
我使用此简单的PowerShell脚本尝试了它:
运行此脚本时,我会在您的图片中收到相同的错误消息。将脚本更改为以下
脚本的运行,没有任何错误。
The problem here is the colon within two powershell variables. You have to change the line in you powershell script to this:
I tried it with this simple powershell script:
When running this script, I get the same error message like in your picture. Changing the script to the following
the script runs without any errors.