Skip to content

Commit

Permalink
chore: bump to dotnet8
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Mar 26, 2024
1 parent fbd8c07 commit 7c2a4e8
Show file tree
Hide file tree
Showing 38 changed files with 55 additions and 55 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- id: build_info
run: |
branch=$(git ls-remote --heads origin | grep $GITHUB_SHA | sed "s/.*\///")
Expand Down Expand Up @@ -91,24 +91,24 @@ jobs:
- name: Build
working-directory: ./api
run: |
dotnet publish AltV.Net.Host -c Release -f net6.0
dotnet publish AltV.Net.Host -c Release -f net6.0
dotnet publish AltV.Net.Shared -c Release -f net6.0
dotnet publish AltV.Net.CApi -c Release -f net6.0
dotnet publish AltV.Net -c Release -f net6.0
dotnet publish AltV.Net -c Debug -f net6.0
dotnet publish AltV.Net.Async -c Release -f net6.0
dotnet publish AltV.Net.Async -c Debug -f net6.0
dotnet publish AltV.Net.Interactions -c Release -f net6.0
dotnet publish AltV.Net.Host -c Release -f net8.0
dotnet publish AltV.Net.Host -c Release -f net8.0
dotnet publish AltV.Net.Shared -c Release -f net8.0
dotnet publish AltV.Net.CApi -c Release -f net8.0
dotnet publish AltV.Net -c Release -f net8.0
dotnet publish AltV.Net -c Debug -f net8.0
dotnet publish AltV.Net.Async -c Release -f net8.0
dotnet publish AltV.Net.Async -c Debug -f net8.0
dotnet publish AltV.Net.Interactions -c Release -f net8.0
dotnet publish AltV.Net.Async.CodeGen -c Release -f netstandard2.0
dotnet publish AltV.Net.Resources.Chat.Api -c Release -f net6.0
dotnet publish AltV.Net.EntitySync.ServerEvent -c Release -f net6.0
dotnet publish AltV.Net.Client -c Release -f net6.0
dotnet publish AltV.Net.Client.Async -c Release -f net6.0
dotnet publish AltV.Net.ColShape -c Release -f net6.0
dotnet publish AltV.Net.Sdk.Server -c Release -f net6.0
dotnet publish AltV.Net.Sdk.Client -c Release -f net6.0
dotnet publish AltV.Net.Sdk.Shared -c Release -f net6.0
dotnet publish AltV.Net.Resources.Chat.Api -c Release -f net8.0
dotnet publish AltV.Net.EntitySync.ServerEvent -c Release -f net8.0
dotnet publish AltV.Net.Client -c Release -f net8.0
dotnet publish AltV.Net.Client.Async -c Release -f net8.0
dotnet publish AltV.Net.ColShape -c Release -f net8.0
dotnet publish AltV.Net.Sdk.Server -c Release -f net8.0
dotnet publish AltV.Net.Sdk.Client -c Release -f net8.0
dotnet publish AltV.Net.Sdk.Shared -c Release -f net8.0
- run: |
mkdir -p ./modules/linux
mkdir -p ./modules/windows
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Async/AltV.Net.Async.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Platforms>AnyCPU</Platforms>
<RootNamespace>AltV.Net.Async</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Configurations>$(Configurations);Testing;Linux</Configurations>
<Platforms>AnyCPU</Platforms>
<RootNamespace>AltV.Net.BenchmarkRunners</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Benchmarks/AltV.Net.Benchmarks.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Configurations>$(Configurations);Testing;Linux</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.CApi.Generator/AltV.Net.CApi.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion api/AltV.Net.CApi/AltV.Net.CApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Client.Async/AltV.Net.Client.Async.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>10</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Client.Example/AltV.Net.Client.Example.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Client/AltV.Net.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>10</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.ColShape.Tests/AltV.Net.ColShape.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.ColShape/AltV.Net.ColShape.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.CoreRT.Example/AltV.Net.CoreRT.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Exe</OutputType>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Exe</OutputType>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.EntitySync/AltV.Net.EntitySync.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<PackageVersion>1.18.0</PackageVersion>
<Authors>AltMp</Authors>
<Description>AltV .NET Core Entity Sync</Description>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Example/AltV.Net.Example.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Configurations>$(Configurations);Testing;Linux</Configurations>
<Platforms>AnyCPU</Platforms>
<RootNamespace>AltV.Net.Example</RootNamespace>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<!--<TargetFramework>netcoreapp2.1</TargetFramework>-->
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Host/AltV.Net.Host.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>default</LangVersion>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Interactions/AltV.Net.Interactions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Mock.Example/AltV.Net.Mock.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Mock/AltV.Net.Mock.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
<RootNamespace>AltV.Net.Mock</RootNamespace>
<Authors>AltMp</Authors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Resources.Chat/AltV.Net.Resources.Chat.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<RootNamespace>AltV.Net.Resources.Chat</RootNamespace>
<PackageVersion>1.0.0-dev-preview</PackageVersion>
<PackageLicenseFile>license.txt</PackageLicenseFile>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Sdk.Client/AltV.Net.Sdk.Client.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Authors>AltMp</Authors>
<Description>alt:V .NET client SDK</Description>
<Copyright>AltMp</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Sdk.Generator/AltV.Net.Sdk.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Sdk.Server/AltV.Net.Sdk.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Authors>AltMp</Authors>
<Description>alt:V .NET server SDK</Description>
<Copyright>AltMp</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Sdk.Shared/AltV.Net.Sdk.Shared.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Authors>AltMp</Authors>
<Description>alt:V .NET shared SDK</Description>
<Copyright>AltMp</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.Shared/AltV.Net.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>default</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net.VehicleData/AltV.Net.VehicleData.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Platforms>AnyCPU</Platforms>
<Authors>AltMp</Authors>
Expand Down
2 changes: 1 addition & 1 deletion api/AltV.Net/AltV.Net.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFramework>net8.0</TargetFramework>
<Configurations>$(Configurations);Testing</Configurations>
<LangVersion>latest</LangVersion>
<Platforms>AnyCPU</Platforms>
Expand Down
2 changes: 1 addition & 1 deletion download_dotnet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $start = $pwd

cd $path

$dotnetRelease = Invoke-WebRequest 'https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json' | ConvertFrom-Json
$dotnetRelease = Invoke-WebRequest 'https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8.0/releases.json' | ConvertFrom-Json

$dotnetVersion = $dotnetRelease."latest-release"

Expand Down
2 changes: 1 addition & 1 deletion runtime
Submodule runtime updated 1 files
+1 −1 download_dotnet.ps1

0 comments on commit 7c2a4e8

Please sign in to comment.