Skip to content

Install with tools (only allowlisted tools, with versions from .tool-versions) #566

Open
@MPV

Description

@MPV

What do we think about the idea of adding support for something like this:

[...]
steps:
  - uses: action/checkout@v4
  - uses: asdf-vm/actions/install@v2
    with:
      tools: |
        action-validator

...so if you have a .tool-versions file like this:

$ cat .tool-versions
action-validator 0.5.3
gcloud 1.2.3

...then it would only asdf install action-validator 0.5.3 (and not gcloud).

My hope is that this could simplify/speed up many jobs where you only need one particular tool for the thing you want to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions