Repository navigation
Move build and release to GitHub Actions, update packages - #46
Merged
Merged
Conversation
Replace the Azure Pipelines definitions with GitHub Actions workflows that mirror the MessageBus and DSoft.DataPrivacy repositories: - ci.yml builds Release for pull requests into main or development. - release.yml runs on pushes to main, builds Release as 3.6.yyMM.<run number> (plus RELEASE_SUFFIX), uploads the packages as the drop artifact, pushes them to nuget.org with Trusted Publishing (OIDC, NUGET_USER secret, nuget environment), then tags the commit and creates a GitHub release. Remove the stale hard-coded 2.2.2102.142-prerelease versions from the library projects; the release workflow injects the version. Set ContinuousIntegrationBuild under GitHub Actions as well as Azure Pipelines. Update packages: Microsoft.Extensions.* 10.0.12, Microsoft.Maui.Controls 10.0.110, Microsoft.WindowsAppSDK 2.5.1, Microsoft.Windows.SDK.BuildTools 10.0.28000.2705, Nerdbank.Streams 2.14.354, Microsoft.SourceLink.GitHub 10.0.401. Document the pipelines in README.md and CLAUDE.md. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012tsggoGoEogfFmpET9YiqJ
Rename the agent guidance to the tool-neutral AGENTS.md, as in DSoft.DataPrivacy, and keep a one-line CLAUDE.md that imports it so Claude Code still loads it. Add a Branching section: features and bug fixes go to development; main is the release branch and every push to it publishes. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012tsggoGoEogfFmpET9YiqJ
Ruleset JSON for import into the repository's Rules settings: changes to main must come through a pull request, and main cannot be deleted or force-pushed. The session could not create the ruleset through the API, so the definition is kept here for import. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012tsggoGoEogfFmpET9YiqJ
The Mac Catalyst SDK picks different default runtime identifiers for an app project in Debug and Release. Restoring with the default configuration and then building Release with --no-restore left MauiSample without a net10.0-maccatalyst/maccatalyst-arm64 target in its assets file (NETSDK1047). Restore with Configuration=Release so both steps agree. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_012tsggoGoEogfFmpET9YiqJ
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.
Summary
Moves the build and NuGet release from Azure Pipelines to GitHub Actions, mirroring the setup in MessageBus and DSoft.DataPrivacy, and updates the package references.
CI / release
.github/workflows/ci.yml: builds Release on pull requests intomainordevelopment. Publishes nothing..github/workflows/release.yml: runs on every push tomain. Builds Release as3.6.<yyMM>.<run number>(plusRELEASE_SUFFIX), uploads the packages as thedropartifact, pushes them to nuget.org with Trusted Publishing (OIDC,NUGET_USERsecret,nugetenvironment), then tagsv<version>and creates a GitHub release with the packages attached..cifolder now points at the workflows.Directory.Build.propssetsContinuousIntegrationBuildunder GitHub Actions too, and SourceLink moves to 10.0.401.Versioning
2.2.2102.142-prereleaseversion properties are removed from all library projects. The release workflow injectsVersion,AssemblyVersionandFileVersion. The first release will be3.6.2610.x, above the current3.6.2606.131on nuget.org.Package updates
Docs and repo settings
CLAUDE.mdbecomesAGENTS.md(tool-neutral), with a one-lineCLAUDE.mdimporting it. Adds a Branching section: features and bug fixes go todevelopment;mainis the release branch..github/rulesets/protect-main.jsonholds themainruleset definition (PR required, no deletion, no force push).Test plan
CIworkflow goes green on this PR (first Windows build of the WPF, WinUI, MAUI and VS Extensibility projects).Releaseworkflow publishes3.6.2610.xto nuget.org and creates the GitHub release.🤖 Generated with Claude Code
https://claude.ai/code/session_012tsggoGoEogfFmpET9YiqJ
Generated by Claude Code