From 4df91ea73fb8bbbe1c7870876cdc9e563ae11b03 Mon Sep 17 00:00:00 2001 From: rodion-m Date: Tue, 18 Apr 2023 06:43:16 +0600 Subject: [PATCH] Fix deprecation warning in publish_to_nuget.yml action --- .github/workflows/publish_to_nuget.yml | 7 ++++--- OpenAI.ChatGpt.AspNetCore/OpenAI.ChatGpt.AspNetCore.csproj | 2 +- .../OpenAI.ChatGpt.EntityFrameworkCore.csproj | 2 +- OpenAI.ChatGpt/OpenAI.ChatGpt.csproj | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish_to_nuget.yml b/.github/workflows/publish_to_nuget.yml index b6441be..5206589 100644 --- a/.github/workflows/publish_to_nuget.yml +++ b/.github/workflows/publish_to_nuget.yml @@ -32,10 +32,11 @@ jobs: run: | nupkg_files=$(find . -name '*.nupkg') nupkg_files="${nupkg_files//$'\n'/;}" - echo "::set-output name=nupkg_files::$nupkg_files" + echo "nupkg_files=$nupkg_files" >> $GITHUB_ENV - name: Push NuGet packages run: | - IFS=';' read -ra packages <<< "${{ steps.find_packages.outputs.nupkg_files }}" + IFS=';' read -ra packages <<< "${{ env.nupkg_files }}" for pkg in "${packages[@]}"; do dotnet nuget push "$pkg" --source 'https://api.nuget.org/v3/index.json' --api-key ${{ secrets.NUGET_API_KEY }} - done \ No newline at end of file + done + \ No newline at end of file diff --git a/OpenAI.ChatGpt.AspNetCore/OpenAI.ChatGpt.AspNetCore.csproj b/OpenAI.ChatGpt.AspNetCore/OpenAI.ChatGpt.AspNetCore.csproj index cb733a8..6fbc3ff 100644 --- a/OpenAI.ChatGpt.AspNetCore/OpenAI.ChatGpt.AspNetCore.csproj +++ b/OpenAI.ChatGpt.AspNetCore/OpenAI.ChatGpt.AspNetCore.csproj @@ -8,7 +8,7 @@ OpenAI.ChatGPT.AspNetCore https://github.com/rodion-m/ChatGPT_API_dotnet OpenAI ChatGPT integration for .NET with DI - 2.0.1 + 2.0.2 OpenAI Chat Completions API (ChatGPT) integration with easy DI supporting (Microsoft.Extensions.DependencyInjection). It allows you to use the API in your .NET applications. Also, the client supports streaming responses (like ChatGPT) via async streams. https://github.com/rodion-m/ChatGPT_API_dotnet net6.0;net7.0 diff --git a/OpenAI.ChatGpt.EntityFrameworkCore/OpenAI.ChatGpt.EntityFrameworkCore.csproj b/OpenAI.ChatGpt.EntityFrameworkCore/OpenAI.ChatGpt.EntityFrameworkCore.csproj index 9232a76..443fdd7 100644 --- a/OpenAI.ChatGpt.EntityFrameworkCore/OpenAI.ChatGpt.EntityFrameworkCore.csproj +++ b/OpenAI.ChatGpt.EntityFrameworkCore/OpenAI.ChatGpt.EntityFrameworkCore.csproj @@ -9,7 +9,7 @@ OpenAI.ChatGPT.EntityFrameworkCore https://github.com/rodion-m/ChatGPT_API_dotnet OpenAI ChatGPT integration for .NET with EF Core storage - 2.0.1 + 2.0.2 OpenAI Chat Completions API (ChatGPT) integration with DI and EF Core supporting. It allows you to use the API in your .NET applications. Also, the client supports streaming responses (like ChatGPT) via async streams. https://github.com/rodion-m/ChatGPT_API_dotnet net6.0;net7.0 diff --git a/OpenAI.ChatGpt/OpenAI.ChatGpt.csproj b/OpenAI.ChatGpt/OpenAI.ChatGpt.csproj index a92dc2e..dd040ee 100644 --- a/OpenAI.ChatGpt/OpenAI.ChatGpt.csproj +++ b/OpenAI.ChatGpt/OpenAI.ChatGpt.csproj @@ -10,7 +10,7 @@ OpenAI.ChatGPT https://github.com/rodion-m/ChatGPT_API_dotnet OpenAI ChatGPT integration for .NET - 2.0.1 + 2.0.2 .NET integration for ChatGPT with streaming responses supporting (like ChatGPT) via async streams. https://github.com/rodion-m/ChatGPT_API_dotnet MIT