-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
DATA: WorkloadUpdateTask #135
base: main
Are you sure you want to change the base?
Conversation
|
||
namespace ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks | ||
{ | ||
public class InstallPlaywrightTask : GithubTask |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not expecting this file. There is another open PR for this component. Can we remove this file from the PR so components can be reviewed individually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, That's because this PR's branche is based on the other one @cjdutoit
{ | ||
public class WorkloadUpdateTask : GithubTask | ||
{ | ||
public override string Run { get; set; } = "dotnet workload update"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add descriptive documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hassanhabib don't have an issue with this task itself, but but do we have some criteria on when to allow new tasks VS just using the generic task command in the job like below?
new GithubTask()
{
Name = "Update installed workloads",
Run = "dotnet workload update"
},
ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/WorkloadUpdateTask.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Christo du Toit <christo@dutoit.co.uk>
closes #136