Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')

permissions:
id-token: write # enable GitHub OIDC token issuance for NuGet trusted publishing
contents: read

steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -107,5 +111,15 @@ jobs:
name: nuget-package
path: ./artifacts

# Exchange the GitHub OIDC token for a short-lived (1 hour) nuget.org
# API key. Requires a Trusted Publishing policy on nuget.org bound to
# this repo + workflow file (ci.yml). NUGET_USER is the nuget.org
# account/profile name (not an email).
- name: NuGet login (OIDC → temporary API key)
uses: NuGet/login@v1
id: login
with:
user: ${{ secrets.NUGET_USER }}

- name: Publish to NuGet
run: dotnet nuget push "./artifacts/*.nupkg" --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push "./artifacts/*.nupkg" --api-key "${{ steps.login.outputs.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.6.3] — 2026-06-10

### Changed

- **Dependency updates.** Bumped `Microsoft.Extensions.DependencyInjection.Abstractions`,
`Microsoft.Extensions.Http`, and `System.Security.Cryptography.ProtectedData`
to `10.0.9`; `Spectre.Console` to `0.56.0`; and `Microsoft.SourceLink.GitHub`
to `10.0.300`. Test-only dependencies updated as well
(`Microsoft.NET.Test.Sdk` `18.6.0`, `xunit` `2.9.3`,
`xunit.runner.visualstudio` `3.1.5`, `coverlet.collector` `10.0.1`).
`Spectre.Console.Cli` stays at `0.55.0` (latest stable). No public API change.
- **NuGet trusted publishing.** The `publish` CI job now uses OIDC-based
[trusted publishing](https://learn.microsoft.com/nuget/nuget-org/trusted-publishing):
it exchanges the GitHub OIDC token for a short-lived nuget.org API key via
`NuGet/login@v1` instead of a long-lived `NUGET_API_KEY` secret.

---

## [0.6.2] — 2026-05-03

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<PropertyGroup>
<PackageId>NextIteration.SpectreConsole.Auth</PackageId>
<Version>0.6.2</Version>
<Version>0.6.3</Version>
<Authors>Stuart Meeks</Authors>
<Description>Credential storage, encryption, and Spectre.Console CLI commands for managing provider credentials in CLI tools.</Description>
<GeneratePackageOnBuild Condition="'$(Configuration)' == 'Release'">true</GeneratePackageOnBuild>
Expand Down Expand Up @@ -45,12 +45,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.5" />
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.5" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="10.0.5" />
<PackageReference Include="Spectre.Console" Version="0.55.2" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.9" />
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.9" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="10.0.9" />
<PackageReference Include="Spectre.Console" Version="0.56.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.55.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.300" PrivateAssets="All" />
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="icon.png" Pack="true" PackagePath="" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PackageReference Include="coverlet.collector" Version="10.0.1">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down