Skip to content

Commit b853697

Browse files
authored
Merge pull request #189 from Cysharp/ci/nuget_readme
chore: add README.md to nuget package
2 parents 92c637d + 2cafd4f commit b853697

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build-debug.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ jobs:
1818
steps:
1919
- uses: Cysharp/Actions/.github/actions/checkout@main
2020
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
21-
- run: dotnet build -c Debug
22-
- run: dotnet test -c Debug --no-build
21+
- run: dotnet build -c Release
22+
- run: dotnet test -c Release --no-build
23+
- run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -o $GITHUB_WORKSPACE/artifacts

Directory.Build.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@
66
<Company>Cysharp</Company>
77
<Copyright>© Cysharp, Inc.</Copyright>
88
<PackageProjectUrl>https://github.com/Cysharp/ConsoleAppFramework</PackageProjectUrl>
9+
<PackageReadmeFile>README.md</PackageReadmeFile>
910
<RepositoryUrl>$(PackageProjectUrl)</RepositoryUrl>
1011
<RepositoryType>git</RepositoryType>
1112
<PackageTags>batch,console,cli,consoleappframework</PackageTags>
1213
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1314
<PackageIcon>Icon.png</PackageIcon>
1415
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
19+
</ItemGroup>
1520
</Project>

0 commit comments

Comments
 (0)