Skip to content
This repository has been archived by the owner on May 11, 2024. 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 d17f015 commit e6e69f3
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 @@ -10,7 +10,7 @@ if "%releaseconfig%" == "" set releaseconfig=Release
:packbin
echo Packing binary...
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-bin.zip "..\Figletize\bin\%releaseconfig%\netstandard2.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\Figletize.Cmd\bin\%releaseconfig%\net6.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-demo.zip "..\Figletize.Cmd\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 @@ -20,7 +20,7 @@ fi
# Pack binary
echo Packing binary...
cd "../Figletize/bin/$releaseconf/netstandard2.0/" && "$zippath" -r /tmp/$version-bin.zip . && cd -
cd "../Figletize.Cmd/bin/$releaseconf/net6.0/" && "$zippath" -r /tmp/$version-demo.zip . && cd -
cd "../Figletize.Cmd/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-demo.zip . && cd -
if [ ! $? == 0 ]; then
echo Packing using zip failed.
exit 1
Expand Down

0 comments on commit e6e69f3

Please sign in to comment.