Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying 'latest' as dotnet-version #497

Open
CamJN opened this issue Jan 10, 2024 · 2 comments
Open

Allow specifying 'latest' as dotnet-version #497

CamJN opened this issue Jan 10, 2024 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@CamJN
Copy link

CamJN commented Jan 10, 2024

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.

@CamJN CamJN added feature request New feature or request to improve the current logic needs triage labels Jan 10, 2024
@aparnajyothi-y
Copy link

Hello @CamJN,
Thank you for creating this issue, we will investigate it and come back to you as soon as we have some feedback.

@Duncun76918
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

4 participants