Skip to content

Conversation

robinbaxon
Copy link

Description of Value

Allow consumers of the action to flexibly install the tool to their desired location with elevated privileges, addressing gh-86

Implementation details

  • Allow git-version to be flexibly installed on the runner, retaining the default path of /usr/local/bin
  • Use elevated privileges (sudo) to download and install the tool, assuming github cloud runners have non-interactive/passwordless sudo and self-hosted runners should mimick this capability
  • Fix a trailing space in the git-version execution that otherwise causes the tool to bail (\ as opposed to \

@robinbaxon robinbaxon changed the title GH-86: Allow flexible installation path for the git-version binary Issue #86: Allow flexible installation path for the git-version binary Jul 25, 2025
…n binary

Allow flexible installation path for the git-version binary in order to support self-hosted runners, where installation paths for tooling may vary
Use elevated privileges to download + make tool executable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant