From bd3f29c3d47e1fc045d8602e41eed8d7d2095aec Mon Sep 17 00:00:00 2001 From: gil zhang Date: Thu, 13 Feb 2025 22:26:26 +0800 Subject: [PATCH 1/5] Remove obsolete nuget packages for BotSharp.Abstraction --- .../BotSharp.Abstraction/BotSharp.Abstraction.csproj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj b/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj index 0e69d7b6..2311311f 100644 --- a/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj +++ b/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj @@ -24,8 +24,7 @@ - - + From 8aeb046a0583532f3dfb5aa69442a3e3e4647061 Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Sat, 15 Feb 2025 11:58:04 -0800 Subject: [PATCH 2/5] added github action buiold pipeline --- .github/workflows/build.yml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..545b621d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,41 @@ +name: build + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + strategy: + matrix: + os: + - ubuntu-latest + - windows-latest + - macos-latest + runs-on: ${{matrix.os}} + steps: + - uses: actions/checkout@v1 + - name: Setup .NET Core + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + - name: Set env + run: | + echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" >> $GITHUB_ENV + echo "DOTNET_hostBuilder:reloadConfigOnChange=false" >> $GITHUB_ENV + - name: Clean + run: | + dotnet clean ./BotSharp.sln --configuration Release + dotnet nuget locals all --clear + - name: Build + run: dotnet build ./BotSharp.sln -c Release + - name: Test + run: | + cd ./tests/UnitTest + dotnet test --logger "console;verbosity=detailed" + cd ./tests/BotSharp.Plugin.SemanticKernel.UnitTests + dotnet test --logger "console;verbosity=detailed" \ No newline at end of file From ff8b61f29ba9c58ee62d6c4d96db31b2640fb849 Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Sat, 15 Feb 2025 12:39:26 -0800 Subject: [PATCH 3/5] dotnet workload install aspire --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 545b621d..b55e92df 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,9 @@ jobs: run: | echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" >> $GITHUB_ENV echo "DOTNET_hostBuilder:reloadConfigOnChange=false" >> $GITHUB_ENV + - name: Install required workloads + run: | + dotnet workload install aspire --source https://aka.ms/dotnet8/nuget/index.json --source https://api.nuget.org/v3/index.json - name: Clean run: | dotnet clean ./BotSharp.sln --configuration Release From 48931247682cfb81f55e39afda842ee08ad16db5 Mon Sep 17 00:00:00 2001 From: Kerry Jiang Date: Sat, 15 Feb 2025 12:44:17 -0800 Subject: [PATCH 4/5] fixed the dir of BotSharp.Plugin.SemanticKernel.UnitTests --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b55e92df..ed4cf565 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,5 +40,5 @@ jobs: run: | cd ./tests/UnitTest dotnet test --logger "console;verbosity=detailed" - cd ./tests/BotSharp.Plugin.SemanticKernel.UnitTests + cd ../BotSharp.Plugin.SemanticKernel.UnitTests dotnet test --logger "console;verbosity=detailed" \ No newline at end of file From ed44d04fde2a413a7e730750568da88d37ca34ff Mon Sep 17 00:00:00 2001 From: Gil Zhang Date: Mon, 17 Feb 2025 20:24:08 +0800 Subject: [PATCH 5/5] Revert "Remove obsolete nuget packages for BotSharp.Abstraction" --- .../BotSharp.Abstraction/BotSharp.Abstraction.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj b/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj index 2311311f..0e69d7b6 100644 --- a/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj +++ b/src/Infrastructure/BotSharp.Abstraction/BotSharp.Abstraction.csproj @@ -24,7 +24,8 @@ - + +