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
2
2
on : [push]
3
3
jobs :
4
4
build :
8
8
- uses : actions/checkout@v2
9
9
- uses : actions/setup-dotnet@v1
10
10
with :
11
- dotnet-version : ' 5 .0.x'
11
+ dotnet-version : ' 6 .0.x'
12
12
- 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
10
10
```
11
11
dotnet nuget push src\MaybeSharp\bin\Release\MaybeSharp.[X.Y.Z].nupkg -k [API-Key] -s https://api.nuget.org/v3/index.json
12
12
```
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 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >net5 </TargetFramework >
4
+ <TargetFramework >net6 </TargetFramework >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net5;netcoreapp2.1;netcoreapp3.1;netstandard2.0;net48</TargetFrameworks >
4
+ <TargetFrameworks >net6; net5;netcoreapp2.1;netcoreapp3.1;netstandard2.0;net48</TargetFrameworks >
5
5
<PackageProjectUrl >https://github.com/lord-executor/MaybeSharp</PackageProjectUrl >
6
6
<PackageLicenseUrl >https://github.com/lord-executor/MaybeSharp/blob/master/LICENSE</PackageLicenseUrl >
7
7
<RepositoryUrl >https://github.com/lord-executor/MaybeSharp</RepositoryUrl >
8
8
<RepositoryType >git</RepositoryType >
9
9
<Company />
10
10
<PackageDescription >See the project's Github page under https://github.com/lord-executor/MaybeSharp </PackageDescription >
11
11
<Authors >Lukas Angerer</Authors >
12
- <Version >1.3.2 </Version >
12
+ <Version >1.3.3 </Version >
13
13
<AssemblyVersion >1.3.0.0</AssemblyVersion >
14
14
<FileVersion >1.3.0.0</FileVersion >
15
15
<SignAssembly >true</SignAssembly >
You can’t perform that action at this time.
0 commit comments