From adbe0b7b8538da418c8e744a21b68d3ed357816e Mon Sep 17 00:00:00 2001 From: Alex Tsoi Date: Wed, 17 Nov 2021 20:14:00 -0500 Subject: [PATCH] Specify RepositoryUrl --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dfeab1..879a7cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,6 @@ jobs: - name: Set VERSION variable from tag run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV - name: Pack - run: dotnet pack --configuration Release --output . /p:Version=${VERSION} + run: dotnet pack --configuration Release --output . /p:Version=${VERSION} /p:RepositoryUrl=https://github.com/${GITHUB_REPOSITORY} - name: Publish run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate