From 2d9c0f79273524db4d03f3bbe1ff3c6d69c35afd Mon Sep 17 00:00:00 2001 From: Omer Cohen Date: Wed, 29 May 2024 13:01:10 +0300 Subject: [PATCH] chore: also publish to nuget.org (#30) --- .github/workflows/release.yaml | 7 +++++++ Descope/Descope.csproj | 2 ++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 59236cb..3a87e0d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,3 +26,10 @@ jobs: run: dotnet pack --configuration Release ${{ env.PACKAGE_NAME }} - name: Publish the package to GPR run: dotnet nuget push ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg + - uses: actions/setup-dotnet@v4 + with: + source-url: https://api.nuget.org/v3/index.json + env: + NUGET_AUTH_TOKEN: ${{ secrets.NUGET_ORG_KEY }} + - name: Publish the package to NuGet.org + run: dotnet nuget push ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg diff --git a/Descope/Descope.csproj b/Descope/Descope.csproj index ba4133f..86117c7 100644 --- a/Descope/Descope.csproj +++ b/Descope/Descope.csproj @@ -9,10 +9,12 @@ 0.0.1 $([System.DateTime]::UtcNow.ToString(`yyyyMMdd-HHmm`)) README.md + LICENSE +