Conversation
This avoids requiring the version of Buf found in the PATH to match the resolved. Fallsback to installing the specified in the toolcache.
This comment has been minimized.
This comment has been minimized.
|
Does this mean a second install overwrites the first install? Is this going to solve the problem for the user or do we need to be stamping the version number in the binary name so we can have multiple binaries installed at once? |
|
@nicksnyder adding more binaries to the tool cache is stored by version/arch (see the cachePath). So installing multiple will work as intended. The current environment PATH will always be updated by prepending the latest installed. So For the users issue, they will install multiple versions of buf extending the PATH environment for the current run. On a new instantiation of a worker, the PATH will not include the toolcache location of the multiple buf versions. The action, |
|
Cool, thanks for clarifying |
Prepare a new release to add fix for #72 .
This avoids requiring the version of Buf found in the PATH to match the resolved. Fallback to installing a new explicit version in the toolcache.
Fixes #71