From 204c9958012ca6ac3fe16e0364ffd4480ab648d4 Mon Sep 17 00:00:00 2001 From: Rob Prouse Date: Mon, 30 Sep 2024 11:56:30 -0400 Subject: [PATCH] Publish packages to Nuget.org --- .github/workflows/dotnet-core.yml | 3 +++ src/todo/todo.csproj | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 08d036d..95416a2 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -50,3 +50,6 @@ jobs: - name: 📤 Publish NuGet to GitHub Packages run: dotnet nuget push "**/dotnet-todo.*.nupkg" -k ${{ secrets.GITHUB_TOKEN }} --source "github" --skip-duplicate --no-symbols + + - name: 📤 Publish NuGet to NuGet.org + run: dotnet nuget push "**/dotnet-todo.*.nupkg" -k ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json diff --git a/src/todo/todo.csproj b/src/todo/todo.csproj index 1dcfa64..52fa32f 100644 --- a/src/todo/todo.csproj +++ b/src/todo/todo.csproj @@ -14,7 +14,7 @@ https://github.com/rprouse/dotnet-todo Readme.md dotnet-todo - 0.6.2 + 0.6.3 true todo ./nupkg