File tree 3 files changed +16
-8
lines changed
ADotNet.Infrastructure.Build
3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 28
28
}}
29
29
jobs :
30
30
build :
31
- runs-on : windows-2019
31
+ runs-on : ubuntu-latest
32
32
steps :
33
33
- name : Check out
34
34
uses : actions/checkout@v3
@@ -111,6 +111,6 @@ jobs:
111
111
- name : Build
112
112
run : dotnet build --no-restore --configuration Release
113
113
- name : Pack NuGet Package
114
- run : dotnet pack --configuration Release
114
+ run : dotnet pack --configuration Release --include-symbols
115
115
- name : Push NuGet Package
116
116
run : dotnet nuget push **/bin/Release/**/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_ACCESS }}
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ static void Main(string[] args)
47
47
{
48
48
Build = new BuildJob
49
49
{
50
- RunsOn = BuildMachines . Windows2019 ,
50
+ RunsOn = BuildMachines . UbuntuLatest ,
51
51
52
52
Steps = new List < GithubTask >
53
53
{
@@ -207,14 +207,13 @@ static void Main(string[] args)
207
207
new PackTask
208
208
{
209
209
Name = "Pack NuGet Package" ,
210
-
210
+ Run = "dotnet pack --configuration Release --include-symbols"
211
211
} ,
212
212
213
213
new NugetPushTask
214
214
{
215
215
Name = "Push NuGet Package" ,
216
216
}
217
-
218
217
} ,
219
218
}
220
219
}
Original file line number Diff line number Diff line change 20
20
Upgrade today to leverage these powerful features and improve your development workflow.
21
21
</PackageReleaseNotes >
22
22
<GeneratePackageOnBuild >True</GeneratePackageOnBuild >
23
- <AssemblyVersion >2.2.0.0</AssemblyVersion >
24
- <FileVersion >2.2.0.0</FileVersion >
25
- <Version >2.2.0.0</Version >
23
+ <PackageReadmeFile >README.md</PackageReadmeFile >
24
+ <AssemblyVersion >2.2.0.1</AssemblyVersion >
25
+ <FileVersion >2.2.0.1</FileVersion >
26
+ <Version >2.2.0.1</Version >
26
27
<PackageLicenseFile >License.txt</PackageLicenseFile >
27
28
<PackageRequireLicenseAcceptance >True</PackageRequireLicenseAcceptance >
28
29
<PackageProjectUrl >https://github.com/hassanhabib/ADotNet</PackageProjectUrl >
36
37
<PlatformTarget >AnyCPU</PlatformTarget >
37
38
</PropertyGroup >
38
39
40
+ <ItemGroup >
41
+ <None Include =" ..\README.md" >
42
+ <Pack >true</Pack >
43
+ <PackagePath ></PackagePath >
44
+ <CopyToOutputDirectory >Always</CopyToOutputDirectory >
45
+ </None >
46
+ </ItemGroup >
47
+
39
48
<ItemGroup >
40
49
<None Include =" License.txt" Pack =" true" PackagePath =" " />
41
50
</ItemGroup >
You can’t perform that action at this time.
0 commit comments