File tree Expand file tree Collapse file tree 4 files changed +11
-6
lines changed
Expand file tree Collapse file tree 4 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1- name : .NET 5 CI
1+ name : .NET 6 CI
22on : [push]
33jobs :
44 build :
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]*"
Original file line number Diff line number Diff line change @@ -10,3 +10,8 @@ Publish package with
1010```
1111dotnet 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+ ```
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 </TargetFramework >
4+ <TargetFramework >net6 </TargetFramework >
55 </PropertyGroup >
66
77 <ItemGroup >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments