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:') }} 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 - - - -