Skip to content

Commit

Permalink
upd - Targeted .NET 8.0
Browse files Browse the repository at this point in the history
---

Type: upd
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Nov 15, 2023
1 parent bdb9d82 commit df57d4e
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build --configuration Debug
- name: Testing
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup .NET 6.0
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: '8.0.x'
- name: Solution Compilation
run: dotnet build --configuration Release
- name: Package Publication
Expand Down
2 changes: 1 addition & 1 deletion SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>SpecProbe.ConsoleTest</RootNamespace>
<TargetFrameworks>net6.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<LangVersion>latest</LangVersion>
<SignAssembly>True</SignAssembly>
Expand Down
2 changes: 1 addition & 1 deletion SpecProbe.Native/SpecProbe.Native.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>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>../SpecProbe.Bin</PackageOutputPath>
Expand Down
2 changes: 1 addition & 1 deletion SpecProbe/SpecProbe.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>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>True</IncludeSymbols>
<PackageOutputPath>../SpecProbe.Bin</PackageOutputPath>
Expand Down
4 changes: 2 additions & 2 deletions tools/pack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ if "%releaseconfig%" == "" set releaseconfig=Release

:packbin
echo Packing binary...
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-bin.zip "..\SpecProbe.Bin\net6.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\SpecProbe.ConsoleTest.Bin\net6.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-bin.zip "..\SpecProbe.Bin\net8.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\SpecProbe.ConsoleTest.Bin\net8.0\*"
if %errorlevel% == 0 goto :complete
echo There was an error trying to pack binary (%errorlevel%).
goto :finished
Expand Down
4 changes: 2 additions & 2 deletions tools/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ fi

# Pack binary
echo Packing binary...
cd "../SpecProbe.Bin/net6.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd -
cd "../SpecProbe.ConsoleTest.Bin/net6.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd -
cd "../SpecProbe.Bin/net8.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd -
cd "../SpecProbe.ConsoleTest.Bin/net8.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd -
if [ ! $? == 0 ]; then
echo Packing using zip failed.
exit 1
Expand Down

0 comments on commit df57d4e

Please sign in to comment.