From df57d4e227d8176142240d7aa4c790b0571ac0a2 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Wed, 15 Nov 2023 10:55:19 +0300 Subject: [PATCH] upd - Targeted .NET 8.0 --- Type: upd Breaking: False Doc Required: False Part: 1/1 --- .github/workflows/build-linux.yml | 4 ++-- .github/workflows/build-macos.yml | 4 ++-- .github/workflows/build-win.yml | 4 ++-- .github/workflows/pack.yml | 4 ++-- SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj | 2 +- SpecProbe.Native/SpecProbe.Native.csproj | 2 +- SpecProbe/SpecProbe.csproj | 2 +- tools/pack.cmd | 4 ++-- tools/pack.sh | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 9ff0091..25617b1 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -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 diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 30157b7..e2498a9 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -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 diff --git a/.github/workflows/build-win.yml b/.github/workflows/build-win.yml index c2342b3..06ced76 100644 --- a/.github/workflows/build-win.yml +++ b/.github/workflows/build-win.yml @@ -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 diff --git a/.github/workflows/pack.yml b/.github/workflows/pack.yml index 1cddb4e..ddc67bc 100644 --- a/.github/workflows/pack.yml +++ b/.github/workflows/pack.yml @@ -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 diff --git a/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj b/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj index abe7f01..cb8f248 100644 --- a/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj +++ b/SpecProbe.ConsoleTest/SpecProbe.ConsoleTest.csproj @@ -3,7 +3,7 @@ Exe SpecProbe.ConsoleTest - net6.0 + net8.0 true latest True diff --git a/SpecProbe.Native/SpecProbe.Native.csproj b/SpecProbe.Native/SpecProbe.Native.csproj index 7f3c65e..fa96d97 100644 --- a/SpecProbe.Native/SpecProbe.Native.csproj +++ b/SpecProbe.Native/SpecProbe.Native.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 true true ../SpecProbe.Bin diff --git a/SpecProbe/SpecProbe.csproj b/SpecProbe/SpecProbe.csproj index 476f722..1f9c2ab 100644 --- a/SpecProbe/SpecProbe.csproj +++ b/SpecProbe/SpecProbe.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 true True ../SpecProbe.Bin diff --git a/tools/pack.cmd b/tools/pack.cmd index ac7c4dd..561f78f 100644 --- a/tools/pack.cmd +++ b/tools/pack.cmd @@ -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 diff --git a/tools/pack.sh b/tools/pack.sh index c91905f..c31c77f 100644 --- a/tools/pack.sh +++ b/tools/pack.sh @@ -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