Skip to content

Commit 6702bd6

Browse files
committed
💚 add NU5104 nowarn for RestSharp dependency
1 parent 5119940 commit 6702bd6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/publish-sdk.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
dotnet-version: '7.0.x'
2222
- name: Install dependencies
23-
run: dotnet restore "src"
23+
run: dotnet restore "src/Mindee"
2424
- name: Build
25-
run: dotnet build "src" --configuration Release --no-restore
25+
run: dotnet build "src/Mindee" --configuration Release --no-restore
2626
- name: Pack
27-
run: dotnet pack "src" -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --no-build --output nuget
27+
run: dotnet pack "src/Mindee" -c Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg --no-build --output nuget
2828
- name: Publish NuGet packages to NuGet
2929
run: dotnet nuget push nuget/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source "nuget.org"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
### Fixes
1313
* :bug::boom: details property in Error become an object because it can handle both string and object
14+
* :bug::arrow_up: update RestSharp to fix a bug on .NET 7 #120
1415

1516
## v2.0.0 - 2023-02-02
1617
### ¡Breaking Changes!

src/Mindee/Mindee.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFrameworks>net6.0;net7.0;netstandard2.0;net472</TargetFrameworks>
@@ -7,7 +7,7 @@
77
<ItemGroup>
88
<PackageReference Include="System.Text.Json" Version="6.0.6" />
99
<PackageReference Include="Docnet.Core" Version="2.3.1" />
10-
<PackageReference Include="RestSharp" Version="109.0.0-preview.1" />
10+
<PackageReference Include="RestSharp" Version="109.0.0-preview.2" NoWarn="NU5104" />
1111
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
1212
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.2" />
1313
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />

0 commit comments

Comments
 (0)