From e63dba13501a57c9afd77a1cde528b4b12452557 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 19 Aug 2025 17:37:09 +0900 Subject: [PATCH 1/2] chore: add README.md to nuget package --- Directory.Build.props | 24 +++++++++++++++++++++ src/UniTask.NetCore/Icon.png => Icon.png | Bin src/UniTask.NetCore/UniTask.NetCore.csproj | 14 ------------ 3 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 Directory.Build.props rename src/UniTask.NetCore/Icon.png => Icon.png (100%) diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..fe6aa5b --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,24 @@ + + + + 13 + + + $(Version) + Cysharp + Cysharp + © Cysharp, Inc. + task;async + https://github.com/Cysharp/UniTask + README.md + $(PackageProjectUrl) + git + MIT + Icon.png + + + + + + + diff --git a/src/UniTask.NetCore/Icon.png b/Icon.png similarity index 100% rename from src/UniTask.NetCore/Icon.png rename to Icon.png diff --git a/src/UniTask.NetCore/UniTask.NetCore.csproj b/src/UniTask.NetCore/UniTask.NetCore.csproj index b794135..12feb32 100644 --- a/src/UniTask.NetCore/UniTask.NetCore.csproj +++ b/src/UniTask.NetCore/UniTask.NetCore.csproj @@ -11,26 +11,12 @@ UniTask - $(Version) - Cysharp - Cysharp - © Cysharp, Inc. - task;async Provides an efficient async/await integration to Unity and .NET Core. - https://github.com/Cysharp/UniTask - $(PackageProjectUrl) - git - MIT - Icon.png true opensource.snk true - - - - From 40e020fb02c8cd3e67c6649a73eff107ba5aa1ef Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 19 Aug 2025 17:37:17 +0900 Subject: [PATCH 2/2] ci: add dotnet pack and use Release --- .github/workflows/build-debug.yaml | 5 +++-- Directory.Build.props | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-debug.yaml b/.github/workflows/build-debug.yaml index 3dd9970..0422c13 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 -c Debug + - run: dotnet build -c Release + - run: dotnet test -c Release + - 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]' }} diff --git a/Directory.Build.props b/Directory.Build.props index fe6aa5b..f4564dd 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,8 +1,6 @@  - 13 - $(Version) Cysharp