Release on the forge: NuGet from macula-sdk, and both workflows on the forge runner #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (port): macula-dotnet's two workflows run on git.macula.io's own runner, and a
v*tag publishesMaculato the forge's NuGet registry under the public orgmacula-sdk— nothing that needs nuget.org, a NuGet API key, or a GitHub-hosted runner.Refs macula-io/forge-setup#30 (section 4, step 5, "dotnet:
dotnet nuget push --api-keyfrom the secret, in place ofNuGet/login"). DECIDED 2026-11-24 "we will ONLY use our own package management on the forge....no API key theatre we are sovereign".What comes across
ci.yml(structural lint of the interop capture helper, the four-OS test matrix, the C# doc blocks, the advisory scan) andrelease.yml(the release guard, the doc blocks and advisories again on the tag, then publish).The rulings from the rust, php and go ports apply unchanged:
runs-on: docker, the forge image by digest with the org's pull credential, plain-shell checkout, local stand-ins for the three ci-images reusables, the macOS and Windows jobs guardedif: github.server_url == 'https://github.com'and named open here, publishing gated on the event being a tag push, and a dispatch that proves the graph and publishes nothing.How the push authenticates, proven against the forge (not only a stand-in)
dotnet nuget push --api-key <token> --source https://git.macula.io/api/packages/macula-sdk/nuget/index.jsonsends the token in anX-NuGet-ApiKeyheader, as a multipart PUT to thePackagePublishresource. Captured from the real client, then checked against this forge:401 reqPackageAccess;401 Unauthorizedat the client, so the request reaches the package-auth gate rather than a 404;500, i.e. past authentication and into the parser.So the header form works with the bare token this forge's secrets hold (a bare token in an
Authorizationheader is what the forge refuses, and dotnet does not send one). Not proven, and named: a201. That needs thesdk-publisheraccount (menu item), so the first tag is its proof.Open points
scripts/fetch_libmacula.shtakes libmacula for five runtimes from macula-go's release, andscripts/check_package.shrefuses a package missing any of them. This forge builds onlylinux-x64(macula-go#2's open point), so a package published from here carries one runtime and its consumers on Windows, macOS and arm64 get nothing usable. That is a product decision, not a port detail — it is named here for the Supervisor's menu, andcheck_package.shwill name the missing runtimes in every run until a runner or a published set for the other four exists.libmacula.versionnamesv0.31.0, which is not in the public package yet. The generic package is filled by macula-go's ported release, and no tag has been cut through it. Until one is,fetch_libmacula.shfinds nothing to fetch and says which version it asked for.gh attestation verifygoes with GitHub;SHA256SUMSfrom the same package is what a consumer checks.Done when
runs-on: dockeron the forge's image by digest with the pull credential; no GitHub-hosted runner is named outside a guarded job.github.server_urland named open here.actionlintis clean and.github/actionlint.yamldeclares thedockerlabel.workflow_dispatchofreleaseon main runs the whole graph and stops before the push.v*tag the package is published tomacula-sdk's NuGet feed and read back over the anonymous index; this one waits for thesdk-publisheraccount and for a libmacula version that exists in the public package.