File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -159,12 +159,15 @@ jobs:
159159 path : ${{ github.workspace }}/ServiceFabric.Mocks.${{ steps.tag_version.outputs.new_version }}.nupkg
160160
161161 # publish GH nuget package artifact
162+ - name : Configure GitHub Packages as NuGet source
163+ run : dotnet nuget add source --username loekd --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/loekd/index.json"
164+
162165 - name : Push Package to GitHub
163166 if : ${{ steps.check_version.outputs.sf_ver_changed == 'true' || github.event.inputs.force_release == 'true' }}
164- run : dotnet nuget push --api-key ${{secrets.GITHUB_TOKEN}} --source "https://nuget.pkg. github.com/loekd/index.json" ${{ github. workspace }}/ServiceFabric.Mocks.${{ steps.tag_version.outputs.new_version }}.nupkg
167+ run : dotnet nuget push ${{ github.workspace }}/ServiceFabric.Mocks.${{ steps.tag_version.outputs.new_version }}.nupkg --source "github"
165168
166169 # publish packge to nuget
167- - name : Push Package to GitHub
170+ - name : Push Package to NuGet
168171 if : ${{ steps.check_version.outputs.sf_ver_changed == 'true' || github.event.inputs.force_release == 'true' }}
169172 run : dotnet nuget push --api-key ${{secrets.NUGETPUSH}} --source "https://api.nuget.org/v3/index.json" ${{ github.workspace }}/ServiceFabric.Mocks.${{ steps.tag_version.outputs.new_version }}.nupkg
170173
You can’t perform that action at this time.
0 commit comments