Skip to content

Commit e6272d4

Browse files
committed
Use .NET 6 for build.
1 parent 7745828 commit e6272d4

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
uses: actions/checkout@v2
4545
#url: https://github.com/actions/checkout
4646

47-
- name: Configure .NET Core
47+
- name: Configure .NET 6.0
4848
uses: actions/setup-dotnet@v1
4949
#url: https://github.com/actions/setup-dotnet
5050
with:
51-
dotnet-version: 5.0.x
51+
dotnet-version: 6.0.x
5252

5353
- name: Build
5454
id: build

src/Subatomix.Build.Versioning.Semantic.msbuildproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<PropertyGroup>
2121
<Description>Automatic SemVer2 semantic versioning for .NET and MSBuild</Description>
22-
<TargetFramework>netstandard1.0</TargetFramework>
22+
<TargetFramework>netstandard2.0</TargetFramework>
2323
<EnableDefaultItems>false</EnableDefaultItems>
2424
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
2525
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

test/Subatomix.Build.Versioning.Semantic.Tests.msbuildproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<PropertyGroup>
2121
<Description>Tests for Subatomix.Build.Versioning.Semantic</Description>
22-
<TargetFramework>netstandard1.0</TargetFramework>
22+
<TargetFramework>netstandard2.0</TargetFramework>
2323
<EnableDefaultItems>false</EnableDefaultItems>
2424
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
2525
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>

test/cases/MultiTarget/MultiTarget.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<!--
4-
Copyright 2020 Subatomix Research, Inc.
4+
Copyright 2022 Subatomix Research Inc.
55
66
Permission to use, copy, modify, and distribute this software for any
77
purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
1717
-->
1818

1919
<PropertyGroup>
20-
<TargetFrameworks>net5.0;netstandard2.1</TargetFrameworks>
20+
<TargetFrameworks>net6.0;netstandard2.1</TargetFrameworks>
2121
<Description>Multi-Target Test Project for $(Product)</Description>
2222
</PropertyGroup>
2323

test/cases/SingleTarget/SingleTarget.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<!--
4-
Copyright 2020 Subatomix Research, Inc.
4+
Copyright 2022 Subatomix Research Inc.
55
66
Permission to use, copy, modify, and distribute this software for any
77
purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
1717
-->
1818

1919
<PropertyGroup>
20-
<TargetFramework>net5.0</TargetFramework>
20+
<TargetFramework>net6.0</TargetFramework>
2121
<Description>Single-Target Test Project for $(Product)</Description>
2222
</PropertyGroup>
2323

0 commit comments

Comments
 (0)