Skip to content

Commit

Permalink
Merge pull request #54 from stebet/net80
Browse files Browse the repository at this point in the history
Adding .NET 8 support
  • Loading branch information
stebet authored Nov 14, 2023
2 parents 1a959e9 + 539ed7d commit e3b2902
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

env:
MajorVersion: 0
MinorVersion: 4
MinorVersion: 5
steps:
- uses: actions/checkout@v2

Expand All @@ -34,10 +34,10 @@ jobs:
VERPREF: ${{ format('{0}.{1}.{2}{3}', env.MajorVersion, env.MinorVersion, steps.date.outputs.date, github.run_number) }}
run: echo "VersionPrefix=$(echo ${VERPREF})" >> $GITHUB_ENV

- name: Setup .NET 7.0 SDK
- name: Setup .NET 8.0 SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
dotnet-version: 8.x

- name: Build Project
run: dotnet pack ./src/HaveIBeenPwned.PwnedPasswords.Downloader/HaveIBeenPwned.PwnedPasswords.Downloader.csproj --configuration Release
6 changes: 3 additions & 3 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

env:
MajorVersion: 0
MinorVersion: 4
MinorVersion: 5
steps:
- uses: actions/checkout@v2

Expand All @@ -32,10 +32,10 @@ jobs:
VERPREF: ${{ format('{0}.{1}.{2}{3}', env.MajorVersion, env.MinorVersion, steps.date.outputs.date, github.run_number) }}
run: echo "VersionPrefix=$(echo ${VERPREF})" >> $GITHUB_ENV

- name: Setup .NET 7.0 SDK
- name: Setup .NET 8.0 SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.x
dotnet-version: 8.x

- name: Build Project
run: dotnet pack ./src/HaveIBeenPwned.PwnedPasswords.Downloader/HaveIBeenPwned.PwnedPasswords.Downloader.csproj --configuration Release
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackAsTool>true</PackAsTool>
Expand All @@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="Polly.Extensions.Http" Version="3.0.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.47.0" />
<PackageReference Include="System.IO.Pipelines" Version="7.0.0" />
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit e3b2902

Please sign in to comment.