Skip to content

Commit

Permalink
Hello .NET 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Soenneker committed Nov 14, 2024
1 parent 9543dd4 commit 41fc30e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v4

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

- name: Install dependencies with retry
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
- name: Setting up build version
run: |
version=$(($GITHUB_RUN_NUMBER))
echo "BUILD_VERSION=2.1.$version" >> ${GITHUB_ENV}
echo "BUILD_VERSION=3.0.$version" >> ${GITHUB_ENV}
- name: Setup .NET Core 8.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
dotnet-version: 9.0.x

- name: Install dependencies with retry
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/Soenneker.AutoFaker.Overrides.Documents.Document.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

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

<PropertyGroup>
<Description>An AutoFaker (AutoBogus) override for the base Document object</Description>
<Version Condition="'$(BUILD_VERSION)' == ''">2.1.0</Version>
<Version Condition="'$(BUILD_VERSION)' == ''">3.0.0</Version>
<Version Condition="'$(BUILD_VERSION)' != ''">$(BUILD_VERSION)</Version>
<AssemblyName>Soenneker.AutoFaker.Overrides.Documents.Document</AssemblyName>
<PackageId>Soenneker.AutoFaker.Overrides.Documents.Document</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 41fc30e

Please sign in to comment.