Skip to content

Commit f8df0b9

Browse files
NuGet: use policy creator username (ChristianFindlay) (#30)
v0.13.2 NuGet 401: `No matching trust policy owned by user 'MelbourneDeveloper'` — NuGet/login wants the policy **creator**, not the package owner. The individual nuget.org account behind Nimblesite's packages is `ChristianFindlay`. One-line fix; all other channels already green on v0.13.2.
1 parent ee99384 commit f8df0b9

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -571,10 +571,12 @@ jobs:
571571
contents: read # least privilege: drop the inherited contents: write
572572
env:
573573
VERSION: ${{ needs.validate-tag.outputs.version }}
574-
# nuget.org account that owns the trusted-publishing policy. NuGet/login@v1
575-
# declares `user` as required (action.yml: required: true), so it must be supplied;
576-
# hardcoded here in one place (not a secret — it is just the account name).
577-
NUGET_USER: MelbourneDeveloper
574+
# nuget.org username of the trusted-publishing policy CREATOR (NuGet/login@v1 needs
575+
# the creator, not the package owner: a wrong value 401s with "No matching trust
576+
# policy owned by user '<x>'"). The package owner is the Nimblesite org, but the
577+
# individual account that created the policy / owns the packages is ChristianFindlay.
578+
# Required input (action.yml: required: true); hardcoded here in one place.
579+
NUGET_USER: ChristianFindlay
578580
steps:
579581
- uses: actions/checkout@v6
580582
- uses: actions/setup-dotnet@v5

0 commit comments

Comments
 (0)