Skip to content

feat: Skip execution of the "ValidateCodeFormatting" task when build is running on Azure Pipelines #142

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

Merged

Conversation

ap0llo
Copy link
Owner

@ap0llo ap0llo commented Dec 19, 2024

Running dotnet format on Azure Pipelines when using the .NET 9 SDK and Nerdbank.GitVersioning is installed causes the build to hang (see dotnet/sdk#44951).

To work around this, skip the task when running on Azure Pipelines and emit a warning about the task being skipped

…is running on Azure Pipelines

Running dotnet format on Azure Pipelines when using the .NET 9 SDK and Nerdbank.GitVersioning is installed causes the build to hang (see dotnet/sdk#44951).
To work around this, skip the task when running on Azure Pipelines and emit a warning about the task being skipped
@ap0llo ap0llo force-pushed the feat/workaround-for-hanging-builds-on-azure-pipelines branch from 55d9696 to c8fa107 Compare December 19, 2024 20:26
@ap0llo ap0llo added this to the v3.1 milestone Dec 19, 2024
@ap0llo ap0llo merged commit e6b1d12 into master Dec 19, 2024
3 checks passed
@ap0llo ap0llo deleted the feat/workaround-for-hanging-builds-on-azure-pipelines branch December 19, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant