【发布时间】:2020-03-19 12:12:27
【问题描述】:
我有一个 Github Action,它创建了一个 dotnet tool,并尝试使用它。
$ dotnet pack MyTool.csproj --configuration Release
$ dotnet tool install --global --add-source . MyTool
Since you just installed the .NET Core SDK, you will need to logout or restart your session before running the tool you installed.
You can invoke the tool using the following command: my-tool
Tool 'MyTool' (version '1.0.0') was successfully installed.
$ my-tool
my-tool: command not found
我怎样才能在工作中logout or restart my session,重新加载PATH?
【问题讨论】:
标签: ubuntu github-actions dotnet-tool