You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enable NuGet publishing and update docs with feature switches
Enable ENABLE_NUGET and document all 5 CI feature switches
(ENABLE_NUGET, NUGET_USE_OIDC, ENABLE_INSTALLERS, ENABLE_ANDROID,
ENABLE_IOS) across README, CONTRIBUTING, and VitePress docs (EN/ZH).
Add init script references to getting-started guides.
Made-with: Cursor
|`ENABLE_ANDROID`|`false`| Android workload in build matrix |
102
+
|`ENABLE_IOS`|`false`| iOS workload in build matrix |
103
+
104
+
When `ENABLE_NUGET` is `true`, either `NUGET_API_KEY` secret or OIDC trust policy must be configured; otherwise the release will fail with a clear error.
105
+
89
106
## Key Commands
90
107
91
108
```bash
@@ -94,6 +111,8 @@ git push origin main
94
111
./build.sh UpdateVersion --VersionPrefix 1.0.0 # set exact version
95
112
./build.sh Test # build + test
96
113
./build.sh Pack # build + test + pack
114
+
./build.sh Benchmark # run benchmarks (benchmarks/ projects)
115
+
./build.sh MutationTest # run Stryker.NET mutation testing
-Pushes NuGet packages to nuget.org (skipped if `NUGET_API_KEY` is not configured)
57
+
-If `ENABLE_NUGET` is `true`: downloads NuGet packages, verifies release manifest SHA256 integrity, pushes to nuget.org via API key or OIDC (controlled by `NUGET_USE_OIDC`)
58
+
-If `ENABLE_INSTALLERS` is `true`: downloads platform installer zips
59
59
- Generates SBOM (SPDX format, `anchore/sbom-action`)
60
-
- Creates Artifact Attestation (`actions/attest-build-provenance`, signs build provenance for NuGet packages and installer zips)
60
+
- Creates Artifact Attestation for all available artifacts (NuGet packages and/or installer zips)
61
61
- Creates a git tag and pushes to remote
62
-
- Creates a GitHub Release with platform installer zips + SBOM file attached
62
+
- Creates a GitHub Release with available assets (installer zips and/or SBOM)
63
63
64
64
### `build-docs`
65
65
- Runs on every push/PR, in parallel with `build-and-test` (pre-check)
@@ -87,8 +87,24 @@ The repository includes built-in VitePress documentation support. To enable docu
0 commit comments