Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
upd - Updated workflows for .NET 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Nov 26, 2023
1 parent 0917c4d commit 47f21a1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 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 tools/pack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47f21a1

Please sign in to comment.