Skip to content

Commit 03fbdbd

Browse files
committed
fix 3
1 parent 186bcd3 commit 03fbdbd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/publish-nuget-package/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ runs:
5050
name: 'Publish package to NuGet'
5151
shell: bash
5252
run: |
53-
dotnet nuget push **/*.nupkg --source ${{ vars.NUGET_PACKAGE_FEED_URL }} --api-key ${{ secrets.NUGET_PACKAGE_FEED_API_KEY }}
53+
dotnet nuget push **/*.nupkg --source ${{ inputs.NUGET_PACKAGE_FEED_URL }} --api-key ${{ inputs.NUGET_PACKAGE_FEED_API_KEY }}
5454
working-directory: ${{ env.working-directory }}
5555

5656
- if: ${{ inputs.nuget-feed-server == 'AzureArtifacts' }}
5757
name: 'Publish package to Azure Artifacts'
5858
shell: bash
5959
run: |
60-
dotnet nuget add source ${{ vars.NUGET_PACKAGE_FEED_URL }} --name nuget-feed --username username --password ${{ secrets.NUGET_PACKAGE_FEED_API_KEY }} --store-password-in-clear-text
61-
dotnet nuget push **/*.nupkg --source nuget-feed --api-key ${{ secrets.NUGET_PACKAGE_FEED_API_KEY }} --skip-duplicate
60+
dotnet nuget add source ${{ inputs.NUGET_PACKAGE_FEED_URL }} --name nuget-feed --username username --password ${{ inputs.NUGET_PACKAGE_FEED_API_KEY }} --store-password-in-clear-text
61+
dotnet nuget push **/*.nupkg --source nuget-feed --api-key ${{ inputs.NUGET_PACKAGE_FEED_API_KEY }} --skip-duplicate
6262
working-directory: ${{ env.working-directory }}

0 commit comments

Comments
 (0)