diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 18d9a25..cc1bd73 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 4f462cd..dcbe5f3 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 2f16e89..23ea5f4 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 dd12e6b..c714252 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/tools/pack.cmd b/tools/pack.cmd index 47cecba..c75a9f4 100644 --- a/tools/pack.cmd +++ b/tools/pack.cmd @@ -7,7 +7,7 @@ if "%releaseconfig%" == "" set releaseconfig=Release :packbin echo Packing binary... "%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-bin.zip "..\Syndian\bin\%releaseconfig%\netstandard2.0\*" -"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\Syndian.Reader\bin\%releaseconfig%\net6.0\*" +"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\Syndian.Reader\bin\%releaseconfig%\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 565a6c4..485bbee 100644 --- a/tools/pack.sh +++ b/tools/pack.sh @@ -17,7 +17,7 @@ fi # Pack binary echo Packing binary... cd "../Syndian/bin/$releaseconf/netstandard2.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd - -cd "../Syndian.Reader/bin/$releaseconf/net6.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd - +cd "../Syndian.Reader/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd - if [ ! $? == 0 ]; then echo Packing using zip failed. exit 1