File tree Expand file tree Collapse file tree 2 files changed +27
-3
lines changed
Basic.Reference.Assemblies.Net80 Expand file tree Collapse file tree 2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,37 @@ jobs:
1313
1414 steps :
1515 - uses : actions/checkout@v2
16+
1617 - name : Setup .NET
1718 uses : actions/setup-dotnet@v1
1819 with :
19- dotnet-version : 6.0.x
20+ dotnet-version : 7.0.x
21+
2022 - name : Restore dependencies
2123 run : dotnet restore
24+
2225 - name : Build
23- run : dotnet build --no-restore
26+ run : dotnet build --no-restore -bl
27+
28+ - name : Pack Solution
29+ run : dotnet pack -p:PackageOutputPath="${GITHUB_WORKSPACE}/packages" -p:IncludeSymbols=false -p:RepositoryCommit=${GITHUB_SHA} -p:PackageVersion="0.0.0.1"
30+
2431 - name : Test
2532 run : dotnet test --no-build --verbosity normal
33+
34+ - name : Upload Binary Log
35+ uses : actions/upload-artifact@v3
36+ if : always()
37+ with :
38+ name : binary-log
39+ path : msbuild.binlog
40+
41+ - name : Upload Packages
42+ uses : actions/upload-artifact@v3
43+ if : always()
44+ with :
45+ name : nuget-packages
46+ path : packages/*
47+
48+
49+
Original file line number Diff line number Diff line change 66 </PropertyGroup >
77
88 <ItemGroup >
9- <PackageReference Include =" Microsoft.NETCore.App.Ref" Version =" 8.0.0-preview.7.23375.6" IncludeAssets =" none" PrivateAssets =" all" GeneratePathProperty =" true" />
9+ <PackageReference Include =" Microsoft.NETCore.App.Ref" Version =" 8.0.0-preview.7.23375.6" IncludeAssets =" none" PrivateAssets =" all" GeneratePathProperty =" true" ExcludeAssets = " analyzers " />
1010 </ItemGroup >
1111
1212 <Import Project =" Generated.targets" />
You can’t perform that action at this time.
0 commit comments