Skip to content

dotnet publish actions should set debug based on branch #810

Description

@ptr727

E.g. [https://github.com/ptr727/ProjectTemplate/blob/develop/.github/actions/dotnet-publish-default/action.yml#L64] sets the build target to debug.

The build target in all dotnet build or publish related tasks that generated published content should be release if main branch else debug.

Unit testing or codegen or other build activities where dotnet content is not being published should always use debug to help with error richness in execution.

Find all places where dotnet builds "to be released" artifacts and set the build type appropriately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions