Skip to content

Commit

Permalink
Enable multiple targets
Browse files Browse the repository at this point in the history
  • Loading branch information
danslapman committed Nov 18, 2023
1 parent aa04044 commit b112693
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x' # SDK Version to use.
dotnet-version: |
6.x
7.x
8.x
- name: build
run: |
dotnet build src/Visor.sln -c Release
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.x' # SDK Version to use.
dotnet-version: |
6.x
7.x
8.x
- name: prepare version
run: |
echo "$VERSION"
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<WarningsAsErrors>Nullable</WarningsAsErrors>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/LeviySoft.Visor.Gen/LeviySoft.Visor.Gen.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<Nullable>disable</Nullable>
<IncludeBuildOutput>false</IncludeBuildOutput>
<Authors>danslapman</Authors>
Expand Down

0 comments on commit b112693

Please sign in to comment.