Skip to content

Commit

Permalink
Merge branch 'feature/dotnet-8-upgrade' of https://github.com/auth0/a…
Browse files Browse the repository at this point in the history
…uth0-oidc-client-net into feature/dotnet-8-upgrade
  • Loading branch information
kailash-b committed Nov 29, 2024
2 parents 8e1d080 + eff6e8f commit 9d54848
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 43 deletions.
32 changes: 5 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,46 +22,24 @@ jobs:
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.404'

- name: dotnet version details before
run: dotnet --info

- name: List workloads before uninstall
run: dotnet workload list

- name: workload version
run: dotnet workload --version

- name: Install .NET Android and iOS workload
run: dotnet workload install android ios maui --version 8.0.404

- name: workload update version
run: dotnet workload update --version 8.0.404

- name: workload version after update
run: dotnet workload --version

- name: List workloads
run: dotnet workload list

- name: dotnet version details
- name: Dotnet framework and workload versions
run: dotnet --info

- name: List workloads
run: dotnet workload list

- name: Update workloads
run: dotnet workload update

- name: List workloads after update
run: dotnet workload list

- name: Setup NuGet
uses: nuget/setup-nuget@v1

- name: Restore NuGet
run: dotnet restore Auth0.OidcClient.All.sln

run: nuget restore Auth0.OidcClient.All.sln

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1

- name: Build
run: msbuild Auth0.OidcClient.All.sln -t:rebuild -verbosity:diag -property:Configuration=Release
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ jobs:

- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.404'

- name: Install .NET Android and iOS workload
run: dotnet workload install android ios maui
run: dotnet workload install android ios maui --version 8.0.404

- name: Setup NuGet
uses: nuget/setup-nuget@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:

- name: Install .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.404'

- name: Install .NET Android and iOS workload
run: dotnet workload install android ios maui
run: dotnet workload install android ios maui --version 8.0.404

- name: Setup NuGet
uses: nuget/setup-nuget@v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0">
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1">
</PackageReference>
<PackageReference Include="Xamarin.Android.Support.CustomTabs" Version="28.0.0.3">
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Browser">
<Version>1.3.0.6</Version>
Expand Down
3 changes: 1 addition & 2 deletions src/Auth0.OidcClient.Core/Auth0.OidcClient.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
<AssemblyOriginatorKeyFile>..\..\build\Auth0OidcClientStrongName.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="6.34.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Auth0.OidcClient.MAUI/Auth0.OidcClient.MAUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-windows10.0.20348.0'">
<ProjectReference Include="..\Auth0.OidcClient.MAUI.Platforms.Windows\Auth0.OidcClient.MAUI.Platforms.Windows.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion src/Auth0.OidcClient.UWP/Auth0.OidcClient.UWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient" Version="6.0.0" />
<PackageReference Include="IdentityModel.OidcClient" Version="5.2.1" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Auth0.OidcClient.WPF/Auth0.OidcClient.WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
<Choose>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
<Choose>
Expand Down
2 changes: 1 addition & 1 deletion src/Auth0.OidcClient.iOS/Auth0.OidcClient.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion test/Android/Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
Expand Down
2 changes: 1 addition & 1 deletion test/UWP/UWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.12</Version>
Expand Down
2 changes: 1 addition & 1 deletion test/WPF/WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
2 changes: 1 addition & 1 deletion test/WinForms/WinForms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
2 changes: 1 addition & 1 deletion test/iOS/iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="IdentityModel.OidcClient">
<Version>6.0.0</Version>
<Version>5.2.1</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit 9d54848

Please sign in to comment.