Skip to content

Commit

Permalink
#9 Excluded the build folder of Shouldly
Browse files Browse the repository at this point in the history
- Set the dotnet version to 7.0.x to use the latest patch version for building
  • Loading branch information
iBrotNano committed Mar 7, 2023
1 parent d3dfff3 commit ad3683b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.201
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Generate package version for regular builds
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<PropertyGroup Condition="'$(CONTINUOUS_INTEGRATION_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<Deterministic>True</Deterministic>
<Deterministic>True</Deterministic>
</PropertyGroup>

<PropertyGroup Condition="'$(CREATE_NUGET)' == 'true'">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
Expand Down Expand Up @@ -36,6 +36,7 @@
<PackageReference Include="Moq" />
<PackageReference Include="Shouldly">
<TreatAsUsed>true</TreatAsUsed>
<ExcludeAssets>build</ExcludeAssets>
</PackageReference>
<PackageReference Include="xunit.extensibility.core" />
</ItemGroup>
Expand Down

0 comments on commit ad3683b

Please sign in to comment.