Skip to content

Commit 5af2bb3

Browse files
committed
Updated to .NET 6
1 parent 815646c commit 5af2bb3

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: .NET 5 CI
1+
name: .NET 6 CI
22
on: [push]
33
jobs:
44
build:
@@ -8,6 +8,6 @@ jobs:
88
- uses: actions/checkout@v2
99
- uses: actions/setup-dotnet@v1
1010
with:
11-
dotnet-version: '5.0.x'
11+
dotnet-version: '6.0.x'
1212
- run: dotnet build src/MaybeSharp.sln
13-
- run: dotnet test src/MaybeSharp.sln -f net5 /p:CollectCoverage=true /p:Include="[MaybeSharp]*"
13+
- run: dotnet test src/MaybeSharp.sln -f net6 /p:CollectCoverage=true /p:Include="[MaybeSharp]*"

doc/release-process.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,8 @@ Publish package with
1010
```
1111
dotnet nuget push src\MaybeSharp\bin\Release\MaybeSharp.[X.Y.Z].nupkg -k [API-Key] -s https://api.nuget.org/v3/index.json
1212
```
13+
14+
With the NuGet API key stored in the Windows credential manager, we can do
15+
```
16+
dotnet nuget push src\MaybeSharp\bin\Release\MaybeSharp.[X.Y.Z].nupkg -k $((Read-CredentialsStore -Target "NuGet:MaybeSharp:APIKey").GetNetworkCredential().Password) -s https://api.nuget.org/v3/index.json
17+
```

src/MaybeSharp.UnitTests/MaybeSharp.UnitTests.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net5</TargetFramework>
4+
<TargetFramework>net6</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

src/MaybeSharp/MaybeSharp.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net5;netcoreapp2.1;netcoreapp3.1;netstandard2.0;net48</TargetFrameworks>
4+
<TargetFrameworks>net6;net5;netcoreapp2.1;netcoreapp3.1;netstandard2.0;net48</TargetFrameworks>
55
<PackageProjectUrl>https://github.com/lord-executor/MaybeSharp</PackageProjectUrl>
66
<PackageLicenseUrl>https://github.com/lord-executor/MaybeSharp/blob/master/LICENSE</PackageLicenseUrl>
77
<RepositoryUrl>https://github.com/lord-executor/MaybeSharp</RepositoryUrl>
88
<RepositoryType>git</RepositoryType>
99
<Company />
1010
<PackageDescription>See the project's Github page under https://github.com/lord-executor/MaybeSharp </PackageDescription>
1111
<Authors>Lukas Angerer</Authors>
12-
<Version>1.3.2</Version>
12+
<Version>1.3.3</Version>
1313
<AssemblyVersion>1.3.0.0</AssemblyVersion>
1414
<FileVersion>1.3.0.0</FileVersion>
1515
<SignAssembly>true</SignAssembly>

0 commit comments

Comments
 (0)