Skip to content

Commit 9637528

Browse files
authored
Merge pull request #183 from devlead/renovate/dotnet-sdk-10.x
Update dependency dotnet-sdk to v10
2 parents 3ad4a61 + 8c752ab commit 9637528

5 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,21 @@ jobs:
3737
with:
3838
global-json-file: global.json
3939

40+
- name: NuGet login (OIDC → temp API key)
41+
uses: NuGet/login@v1
42+
id: login
43+
if: matrix.os == 'windows-latest' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
44+
with:
45+
user: ${{secrets.NUGET_USER}}
46+
4047
- name: Run Cake script
4148
uses: cake-build/cake-action@v3
4249
env:
4350
NuGetReportSettings_SharedKey: ${{ secrets.NUGETREPORTSETTINGS_SHAREDKEY }}
4451
NuGetReportSettings_WorkspaceId: ${{ secrets.NUGETREPORTSETTINGS_WORKSPACEID }}
4552
GH_PACKAGES_NUGET_SOURCE: ${{ secrets.GH_PACKAGES_NUGET_SOURCE }}
4653
NUGET_SOURCE: ${{ secrets.NUGET_SOURCE }}
47-
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
54+
NUGET_APIKEY: ${{steps.login.outputs.NUGET_API_KEY}}
4855
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4956
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
5057
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
33
"rollForward": "latestMinor",
4-
"version": "9.0.308"
4+
"version": "10.0.100"
55
}
66
}

src/Blobify.Tests/Blobify.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

src/Blobify/Blobify.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
66
<Nullable>enable</Nullable>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
88
<ImplicitUsings>enable</ImplicitUsings>

src/Directory.Packages.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
<PackageVersion Include="coverlet.collector" Version="6.0.4" />
1212
<PackageVersion Include="Devlead.Console" Version="2025.11.4.431" />
1313
<PackageVersion Include="Devlead.Testing.MockHttp" Version="2025.11.22.500" />
14-
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.11" />
14+
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.1" Condition="'$(TargetFramework)' == 'net8.0'"/>
15+
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.11" Condition="'$(TargetFramework)' == 'net9.0'"/>
16+
<PackageVersion Include="Microsoft.Extensions.Http" Version="10.0.0" Condition="'$(TargetFramework)' == 'net10.0'"/>
1517
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1618
<PackageVersion Include="MimeTypes" Version="2.5.2" />
1719
<PackageVersion Include="NSubstitute" Version="5.3.0" />

0 commit comments

Comments
 (0)