File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,14 @@ jobs:
130130 name : rc-build
131131 path : ./build_artifacts
132132
133+ - name : Setup NuGet source
134+ run : |
135+ dotnet nuget add source \
136+ --username ${{ secrets.ORG_PACKAGE_USERNAME }} \
137+ --password ${{ secrets.ORG_PACKAGE_TOKEN }} \
138+ --store-password-in-clear-text \
139+ --name github "${{ env.NUGET_SOURCE }}"
140+
133141 - name : Pack and push RC NuGet package
134142 run : |
135143 dotnet restore ${{ env.API_PROJECT }}
@@ -139,10 +147,6 @@ jobs:
139147 /p:PackageVersion=${{ needs.build.outputs.hash_version }} \
140148 /p:Version=${{ needs.build.outputs.new_version }} \
141149 /p:InformationalVersion=${{ needs.build.outputs.hash_version }}
142- dotnet nuget add source --username "${{ github.actor }}" \
143- --password "${{ secrets.GITHUB_TOKEN }}" \
144- --store-password-in-clear-text \
145- --name github "${{ env.NUGET_SOURCE }}"
146150 dotnet nuget push ./nupkg/*.nupkg \
147151 --source github \
148152 --api-key "${{ secrets.GITHUB_TOKEN }}" \
You can’t perform that action at this time.
0 commit comments