Skip to content

Support a version-file, such as .tool-versions #105

Open
@behnam-oneschema

Description

@behnam-oneschema

Describe the request

Considering that repositories using protobuf often use multiple languages and possibly multiple tool chains, it would be great to add the ability to this GH action to read its version from a version-file, such as the common-used https://asdf-vm.com/manage/configuration.html#tool-versions file format.

For example, https://github.com/denoland/setup-deno supports a deno-version parameter, which can take a version string, or a deno-version-file, which can be a deno-specific version file or a tool-versions-style file.

Describe the current behavior

Currently, there's only explicit version is supported, with not way to indicate reading the version from a file.

'arduino/setup-protoc' version

latest

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest version
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions