File tree Expand file tree Collapse file tree
Winton.Extensions.Threading.Actor.Tests.Unit
Winton.Extensions.Threading.Actor Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : .NET
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ branches : [master]
8+ release :
9+ types : [published]
10+
11+ jobs :
12+ build :
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest, windows-latest]
17+
18+ steps :
19+ - uses : actions/checkout@v2
20+ - name : Setup .NET
21+ uses : actions/setup-dotnet@v1
22+ with :
23+ dotnet-version : 5.x
24+ - name : Version
25+ if : ${{ github.event_name != 'pull_request' }}
26+ run : ./etc/scripts/write_version_targets.sh
27+ - name : Restore dependencies
28+ run : >
29+ dotnet restore
30+ - name : Build
31+ run : >
32+ dotnet build
33+ --no-restore --configuration Release --framework netstandard2.0
34+ ./Winton.Extensions.Threading.Actor/Winton.Extensions.Threading.Actor.csproj
35+ - name : Test
36+ run : >
37+ dotnet test
38+ --no-restore --verbosity normal --configuration Release --framework net5.0
39+ ./Winton.Extensions.Threading.Actor.Tests.Unit/Winton.Extensions.Threading.Actor.Tests.Unit.csproj
40+ - name : Pack
41+ if : ${{ matrix.os == 'windows-latest' }}
42+ run : >
43+ dotnet pack
44+ --no-build --no-restore --configuration Release --output ..
45+ ./Winton.Extensions.Threading.Actor/Winton.Extensions.Threading.Actor.csproj
46+ - name : Push
47+ if : ${{ matrix.os == 'windows-latest' && github.event_name == 'release' }}
48+ run : >
49+ dotnet nuget push
50+ ./*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netcoreapp2.1;net462 </TargetFrameworks >
4+ <TargetFrameworks >net5.0 </TargetFrameworks >
55 <SignAssembly >True</SignAssembly >
66 <DelaySign >False</DelaySign >
77 <AssemblyOriginatorKeyFile >../keys/Winton.Extensions.Threading.Actor.snk</AssemblyOriginatorKeyFile >
1010 </PropertyGroup >
1111
1212 <ItemGroup >
13- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.6.1 " />
14- <PackageReference Include =" Moq" Version =" 4.14.3 " />
13+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.11.0 " />
14+ <PackageReference Include =" Moq" Version =" 4.16.1 " />
1515 <PackageReference Include =" xunit" Version =" 2.4.1" />
16- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.2" >
17- <PrivateAssets >all</PrivateAssets >
18- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
19- </PackageReference >
16+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" />
2017 </ItemGroup >
2118
2219 <ItemGroup >
Original file line number Diff line number Diff line change 1717 <PackageId >Winton.Extensions.Threading.Actor</PackageId >
1818 <PackageTags >TPL;Actor;Concurrency;async;await;.NET;.NET Core;dotnetcore;winton;wintoncode</PackageTags >
1919 <PackageProjectUrl >https://github.com/wintoncode/Winton.Extensions.Threading.Actor</PackageProjectUrl >
20- <PackageLicenseUrl >https://github.com/wintoncode/Winton.Extensions.Threading.Actor/blob/master/LICENSE</PackageLicenseUrl >
20+ <PackageLicense >https://github.com/wintoncode/Winton.Extensions.Threading.Actor/blob/master/LICENSE</PackageLicense >
2121 <RepositoryType >git</RepositoryType >
2222 <RepositoryUrl >https://github.com/wintoncode/Winton.Extensions.Threading.Actor.git</RepositoryUrl >
2323 <GenerateAssemblyCompanyAttribute >true</GenerateAssemblyCompanyAttribute >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments