From 61d26c6bfca028ca60e1d4f5f0e3c6438bf4c3ce Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 19 Aug 2025 15:16:55 +0900 Subject: [PATCH 1/3] chore: add README.md to nuget package --- Directory.Build.props | 45 ++++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index ceb08f41..33480f6a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,22 +1,27 @@ - - latest - enable - true - $(NoWarn);CS1591 - true - $(MSBuildThisFileDirectory)opensource.snk + + latest + enable + true + $(NoWarn);CS1591 + true + $(MSBuildThisFileDirectory)opensource.snk - - $(Version) - Cysharp - Cysharp - © Cysharp, Inc. - https://github.com/Cysharp/MemoryPack - $(PackageProjectUrl) - git - MIT - Icon.png - $(MSBuildThisFileDirectory)opensource.snk - - \ No newline at end of file + + $(Version) + Cysharp + Cysharp + © Cysharp, Inc. + https://github.com/Cysharp/MemoryPack + README.md + $(PackageProjectUrl) + git + MIT + Icon.png + $(MSBuildThisFileDirectory)opensource.snk + + + + + + From 860e333bdeedd5d79d3f85754a182283fe379237 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:52:58 +0900 Subject: [PATCH 2/3] 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 a386fce1..0effba0a 100644 --- a/.github/workflows/build-debug.yaml +++ b/.github/workflows/build-debug.yaml @@ -18,8 +18,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 -c Debug --no-build + - 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:')) && github.triggering_actor != 'dependabot[bot]' }} From 2d39bb9beec73679ea7bdcededfe61fc23da16b3 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 19 Aug 2025 16:55:55 +0900 Subject: [PATCH 3/3] ci: remove snupkg for SourceGenerator NuGet --- .github/workflows/build-debug.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml index 0effba0a..569f30bc 100644 --- a/.github/workflows/build-debug.yaml +++ b/.github/workflows/build-debug.yaml @@ -20,7 +20,7 @@ jobs: - uses: Cysharp/Actions/.github/actions/setup-dotnet@main - 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 + - run: dotnet pack -c Release --no-build -p:IncludeSymbols=true -o $GITHUB_WORKSPACE/artifacts build-unity: if: ${{ ((github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:')) && github.triggering_actor != 'dependabot[bot]' }}