Skip to content

Commit

Permalink
Add .NET 8 as supported target framework
Browse files Browse the repository at this point in the history
And update dependencies
  • Loading branch information
follesoe committed Jul 10, 2024
1 parent 46d8fe0 commit 452123e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Setup .NET Core @ Latest
uses: actions/setup-dotnet@v1
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.0.x'
dotnet-version: 8.0.x
source-url: https://nuget.pkg.github.com/BluEye-Robotics/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down
6 changes: 3 additions & 3 deletions WaterLinked.UGPS.Console/WaterLinked.UGPS.Console.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\WaterLinked.UGPS\WaterLinked.UGPS.csproj" />
<ItemGroup>
<ProjectReference Include="..\WaterLinked.UGPS\WaterLinked.UGPS.csproj" />
</ItemGroup>

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
11 changes: 7 additions & 4 deletions WaterLinked.UGPS/WaterLinked.UGPS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,26 @@
<RootNamespace>WaterLinked.UPGS</RootNamespace>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageId>WaterLinked.UGPS</PackageId>
<VersionPrefix>1.0.0</VersionPrefix>
<VersionPrefix>2.0.0</VersionPrefix>
<Authors>Jonas Follesø</Authors>
<Company>Blueye Robotics AS</Company>
<ProduceReferenceAssembly>True</ProduceReferenceAssembly>
<PackageDescription>Dotnet library for the Water Linked Underwater GPS API, generated from the official Swagger documentation.</PackageDescription>
<RepositoryUrl>https://github.com/BluEye-Robotics/dotnet-waterlinked-ugps-api-client</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NSwag.ApiDescription.Client" Version="13.0.5" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="NSwag.ApiDescription.Client" Version="14.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<OpenApiReference
Include="WaterLinkedUGPSApi.json"
SourceUrl="https://demo.waterlinked.com/swagger/swagger.json">
<Namespace>WaterLinked.UGPS</Namespace>
<Options>/operationGenerationMode:SingleClientFromPathSegments /generateDataAnnotations:false /generateClientInterfaces:true /propertyNameGeneratorType:CSharpPropertyNameGenerator</Options>
<Options>/operationGenerationMode:SingleClientFromPathSegments /generateDataAnnotations:false /generateClientInterfaces:true</Options>
</OpenApiReference>
</ItemGroup>
</Project>

0 comments on commit 452123e

Please sign in to comment.