auth0 / auth0-oidc-client-net

OIDC Client for .NET Desktop and Mobile applications
https://auth0.github.io/auth0-oidc-client-net/
Apache License 2.0
84 stars 48 forks source link

Pin workload version for .NET6 by using global.json #303

Closed frederikprijck closed 9 months ago

frederikprijck commented 9 months ago

Changes

With .NET8 being released, it automatically installs workloads for .NET8, while we are still on 6. Future plans are to move to .NET8, but for now lets pin the workloads instead.

As the workloads are installed based on the global.json file, we are adding the global.json file in this PR. Without this file, it would install the latest workloads (which are for .NET8, not .NET6).

As actions/setup-dotnet also reads the global.json file, we are also removing the specific version from the workflow files.

Because of changes to the hosted CI runners for .NET, we also need to install Java manually in order to build Android, see https://github.com/dotnet/maui/issues/18906. Because Xamarin needs Java 11, we are installing Java 11.

Checklist