From 5be362e8857d7a2e692ff0e7de323c935101c5f7 Mon Sep 17 00:00:00 2001 From: Patrick Hallisey Date: Mon, 18 Mar 2024 12:14:37 -0700 Subject: [PATCH] Add release url to nuget package --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16bc44f93..b2bd412ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,11 +32,14 @@ jobs: SECRET_VALUE: ${{ secrets.OPENAI_TOKEN }} working-directory: .dotnet + # Pack the client nuget package and include urls back to the repository and release tag - name: Pack run: dotnet pack --no-build --configuration Release --output "${{github.workspace}}/artifacts/packages" + /p:RepositoryUrl="${{ github.repository }}" + /p:PackageProjectUrl="${{ github.repository }}/tree/${{ github.event.release.tag_name }}" working-directory: .dotnet # Append the nuget package to the github release that triggered this workflow