Skip to content

Commit

Permalink
Add multitargeting for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu committed Nov 30, 2023
1 parent 2a6462b commit bf837d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/os-matrix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[ "ubuntu-latest", "windows-latest" ]
2 changes: 1 addition & 1 deletion src/Tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net472;net8.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net472;net8.0</TargetFrameworks>
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">net8.0</TargetFramework>
<DocumentationFile>false</DocumentationFile>
</PropertyGroup>
Expand Down

0 comments on commit bf837d8

Please sign in to comment.