Skip to content

[Feature Request] Pick up version from a versioning file #977

Open

Description

I have always been a big fan of the ability to specify a version file to pick up the correct tooling version. Here is one example of actions/setup-node:

- uses: actions/setup-node@v3
     with:
        node-version-file: '.tool-versions'

in the above example, the .tool-versions has:

nodejs 18.16.0

I would like to propose adopting this functionality to make life easier for devs who have been using asdf for picking the right pulumi version, something like this:

- uses: pulumi/actions@v4
      with:
        # pulumi-version: '3.74.0' 
        pulumi-version-file: '.tool-versions'
..

# .tool-versions
pulumi 3.74.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions