Skip to content

Commit

Permalink
Update test to net6 target framework
Browse files Browse the repository at this point in the history
  • Loading branch information
FObermaier committed May 15, 2024
1 parent dc36f53 commit fbb5afb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Get source
uses: actions/checkout@v2

- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.406
dotnet-version: '6.x'

- name: Build
run: dotnet build -c Release -v minimal -p:WarningLevel=3
Expand All @@ -43,10 +43,10 @@ jobs:
if: github.event_name == 'push' && (github.ref == 'refs/heads/develop' || github.ref == 'refs/heads/master')

steps:
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.406
dotnet-version: '6.x'

- name: Download Package Files
uses: actions/download-artifact@v2
Expand All @@ -68,10 +68,10 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'

steps:
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v1
- name: Setup .NET 6
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.406
dotnet-version: '6.x'

- name: Download Package Files
uses: actions/download-artifact@v2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net6</TargetFramework>
<SignAssembly>true</SignAssembly>
</PropertyGroup>

Expand Down

0 comments on commit fbb5afb

Please sign in to comment.