Skip to content

Commit

Permalink
Hello .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
soenneker committed Nov 15, 2023
1 parent 1ec539e commit 5f457db
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup .NET 7.0
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup .NET 7.0
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
Expand All @@ -39,12 +39,12 @@ jobs:
- name: Setting up build version
run: |
version=$(($GITHUB_RUN_NUMBER))
echo "BUILD_VERSION=1.0.$version" >> ${GITHUB_ENV}
echo "BUILD_VERSION=2.0.$version" >> ${GITHUB_ENV}
- name: Setup .NET Core 7.0
- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Install dependencies
run: dotnet restore
Expand Down
4 changes: 2 additions & 2 deletions src/Soenneker.Swashbuckle.SmartEnumFilter.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<Platforms>AnyCPU</Platforms>
<NoWarn>$(NoWarn);1591</NoWarn>
</PropertyGroup>

<PropertyGroup>
<Description>A Swashbuckle Schema filter for SmartEnum</Description>
<Version Condition="'$(BUILD_VERSION)' == ''">1.0.0</Version>
<Version Condition="'$(BUILD_VERSION)' == ''">2.0.0</Version>
<Version Condition="'$(BUILD_VERSION)' != ''">$(BUILD_VERSION)</Version>
<AssemblyName>Soenneker.Swashbuckle.SmartEnumFilter</AssemblyName>
<PackageId>Soenneker.Swashbuckle.SmartEnumFilter</PackageId>
Expand Down
2 changes: 1 addition & 1 deletion test/Soenneker.Swashbuckle.SmartEnumFilter.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>

<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
Expand Down

0 comments on commit 5f457db

Please sign in to comment.