Skip to content

Allow specifying 'latest' as dotnet-version #497

@CamJN

Description

@CamJN

Description:
A workflow with the following would install the latest major version of dotnet.

    - name: Setup .NET
      uses: actions/setup-dotnet@v4
      with:
        dotnet-version: latest

Justification:
It would be nice to be able to just stick latest in the dotnet-version field and not have to update the tag when a new major version comes out. This is available in the node and ruby setup actions and is quite nice.

Are you willing to submit a PR?
Unlikely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions