Convert CI to GitHub Actions with NuGet publishing; remove package publishing from Azure Pipelines - #229
Merged
Conversation
… Pipelines Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove old build and package push functionality
Convert CI to GitHub Actions; remove package publishing from Azure Pipelines
Mar 7, 2026
Member
|
@copilot allow manual run and also add publish to nuget, see 304NotModified/SLNX-validator#1 |
…kflow Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
Contributor
Author
Done in 3dfb15b. Added
|
Copilot
AI
changed the title
Convert CI to GitHub Actions; remove package publishing from Azure Pipelines
Convert CI to GitHub Actions with NuGet publishing; remove package publishing from Azure Pipelines
Mar 7, 2026
304NotModified
marked this pull request as ready for review
March 7, 2026 20:16
Member
|
@copilot run under Windows |
Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
Contributor
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Azure Pipelines was handling build, test, SonarCloud analysis, and NuGet publishing in a single pipeline. The goal is to move build/test and NuGet publishing to GitHub Actions while keeping SonarCloud in Azure Pipelines, and stop the old pipeline from creating/pushing packages.
Changes
.github/workflows/build.yml(new): GitHub Actions workflow triggered on push tomaster, all PRs, and manually viaworkflow_dispatch. Runs restore → build → test → pack viadotnetCLI onwindows-latestwith .NET 8. Uploads the nupkg as a workflow artifact on every run. Onmaster, logs in to NuGet.org via OIDC (NuGet/login@v1withsecrets.NUGET_USER) and pushes the package with--skip-duplicate.GITHUB_TOKENscoped tocontents: readandid-token: write.azure-pipelines.yml: Removed the CopyFiles, PublishBuildArtifacts, and both NuGet push steps. Pipeline now only runs restore → SonarCloud prepare → VSBuild → VSTest → SonarCloud analyze/publish.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.