From 82395a70b6a853b8d036bc4b787a9d4013dd5da1 Mon Sep 17 00:00:00 2001 From: Matt Edwards Date: Wed, 4 Dec 2024 08:55:44 -0500 Subject: [PATCH 1/3] Update publish.yml --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index bcc5980..1205aec 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,6 +8,7 @@ on: env: BRANCH_NAME: ${{ github.event.release.target_commitish }} SOLUTION_NAME: ${{ vars.SOLUTION_NAME }} + PROJECT_NAME: ${{ vars.PROJECT_NAME }} DOTNET_VERSION: '9.0.x' NUGET_SOURCE: 'https://api.nuget.org/v3/index.json' BUILD_CONFIGURATION: '' @@ -80,4 +81,4 @@ jobs: run: dotnet test --no-build --verbosity normal --configuration ${{ env.BUILD_CONFIGURATION }} ${{ env.SOLUTION_NAME }} - name: Pack and Push - run: dotnet pack --no-build --configuration ${{ env.BUILD_CONFIGURATION }} -p:PackageOutputPath=../../output --version-suffix "${{ env.VERSION_SUFFIX }}" -p:PackageSource='${{ env.NUGET_SOURCE }}' -p:PushAfterPack=true -p:PackageApiKey='${{ secrets.NUGET_API_KEY }}' + run: dotnet pack --no-build --configuration ${{ env.BUILD_CONFIGURATION }} -p:PackageId=${{ env.PROJECT_NAME }} -p:PackageOutputPath=../../output --version-suffix "${{ env.VERSION_SUFFIX }}" -p:PackageSource='${{ env.NUGET_SOURCE }}' -p:PushAfterPack=true -p:PackageApiKey='${{ secrets.NUGET_API_KEY }}' From 21c692093d6e8a8824bb20cfd891853fdfac6fad Mon Sep 17 00:00:00 2001 From: Matt Edwards Date: Wed, 4 Dec 2024 09:03:40 -0500 Subject: [PATCH 2/3] update build targets --- Directory.Build.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index ab19c8b..8cea3b3 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -4,7 +4,7 @@ --> - +