From 5756b5fbca053cf1563324737db4c2fe3b4da9d9 Mon Sep 17 00:00:00 2001
From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com>
Date: Tue, 19 Aug 2025 18:09:13 +0900
Subject: [PATCH 1/2] chore: add README.md to nuget package
---
Directory.Build.props | 22 ++++++++++++++++++++++
src/ZString/Icon.png => Icon.png | Bin
src/ZString/ZString.csproj | 14 --------------
3 files changed, 22 insertions(+), 14 deletions(-)
create mode 100644 Directory.Build.props
rename src/ZString/Icon.png => Icon.png (100%)
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..1abbbe1
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,22 @@
+
+
+
+
+ $(Version)
+ Cysharp
+ Cysharp
+ © Cysharp, Inc.
+ string;
+ https://github.com/Cysharp/ZString
+ README.md
+ $(PackageProjectUrl)
+ git
+ MIT
+ Icon.png
+
+
+
+
+
+
+
diff --git a/src/ZString/Icon.png b/Icon.png
similarity index 100%
rename from src/ZString/Icon.png
rename to Icon.png
diff --git a/src/ZString/ZString.csproj b/src/ZString/ZString.csproj
index f30c041..b2de3d2 100644
--- a/src/ZString/ZString.csproj
+++ b/src/ZString/ZString.csproj
@@ -10,25 +10,11 @@
1701;1702;1591
- $(Version)
- Cysharp
- Cysharp
- © Cysharp, Inc.
- string;
Zero allocation StringBuilder for .NET Core and Unity.
- https://github.com/Cysharp/ZString
- $(PackageProjectUrl)
- git
- MIT
true
../../opensource.snk
- Icon.png
-
-
-
-
From 6dd621c5db5ee3fee8145a53e022ee1880efddbb Mon Sep 17 00:00:00 2001
From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com>
Date: Tue, 19 Aug 2025 18:12:02 +0900
Subject: [PATCH 2/2] ci: add dotnet pack and use Release
---
.github/workflows/build-debug.yaml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml
index 2d0e2f5..6374523 100644
--- a/.github/workflows/build-debug.yaml
+++ b/.github/workflows/build-debug.yaml
@@ -17,8 +17,9 @@ jobs:
steps:
- uses: Cysharp/Actions/.github/actions/checkout@main
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
- - run: dotnet build -c Debug
- - run: dotnet test tests/ZString.Tests -c Debug
+ - run: dotnet build -c Release
+ - run: dotnet test -c Release --no-build
+ - run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -o $GITHUB_WORKSPACE/artifacts
build-unity:
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') }}