Skip to content

Write resolved sdk version to output variable #241

@MeikTranel

Description

@MeikTranel

Description:
Once an SDK version is installed the action should set an output variable where one can read the version installed for reuse.

Justification:
Workspaces with global.json can skip providing a version to the setup-dotnet action. But when you write more complex workflows with multiple jobs you dont always want to checkout the repository to have that global.json available. I'd like to have a resolved version available once the setup has been run during an initial build job.

Are you willing to submit a PR?

Sure - Should be a simple addition to the action.yml and two lines in index.js 😂

Metadata

Metadata

Assignees

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