Skip to content

Commit

Permalink
Migrate to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
EhRom committed Nov 28, 2023
1 parent 41b0e8c commit 0fc1526
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 173 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: [ main ]


env:
PACKAGE_VERSION: 3.2.0

jobs:
build:

Expand All @@ -16,12 +20,12 @@ jobs:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: '8.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Publish Nuget Package
run: dotnet nuget push /home/runner/work/Puffix.ConsoleLogMagnifier/Puffix.ConsoleLogMagnifier/Puffix.ConsoleLogMagnifier/bin/Release/Puffix.ConsoleLogMagnifier.3.1.0.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
run: dotnet nuget push /home/runner/work/Puffix.ConsoleLogMagnifier/Puffix.ConsoleLogMagnifier/Puffix.ConsoleLogMagnifier/bin/Release/Puffix.ConsoleLogMagnifier.${{ env.PACKAGE_VERSION }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Loading

0 comments on commit 0fc1526

Please sign in to comment.