我有一个创建dotnet 工具并尝试使用它的Github Action 。
$ 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
?