Skip to content

Commit c09bea5

Browse files
author
Petr Sramek
committed
fixed credentials for private nuget
1 parent c06fd55 commit c09bea5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
156156
benchmark:
157157
if: ${{ github.env.is_release || vars.BENCHMARKDOTNET_RUN_OVERRIDE == 'true' }}
158-
name: Benchmark with .NET on ${{ matrix.os }}
158+
name: Benchmark with .NET CLI on ${{ matrix.os }}
159159
needs: [build]
160160
strategy:
161161
matrix:
@@ -190,7 +190,7 @@ jobs:
190190

191191
publish-docs:
192192
if: ${{ github.env.is_release && !github.env.is_preview }}
193-
name: Docs with .NET
193+
name: Docs with docfx
194194
needs: [benchmark, test]
195195
environment:
196196
name: github-pages
@@ -229,7 +229,7 @@ jobs:
229229

230230
publish-package-internal:
231231
if: ${{ !github.env.is_release }}
232-
name: Publish package with .NET
232+
name: Publish package with .NET CLI
233233
needs: [pack]
234234
environment:
235235
name: private-nuget-feed
@@ -247,13 +247,13 @@ jobs:
247247
name: package
248248
path: ${{ runner.temp }}/packages/
249249
- run: |
250-
dotnet nuget add source ${{ secrets.PRIVATE_NUGET_PACKAGE_FEED_URL }} --name private-feed
250+
dotnet nuget add source ${{ secrets.PRIVATE_NUGET_PACKAGE_FEED_URL }} --name private-feed --username username --password ${{ secrets.PRIVATE_NUGET_PACKAGE_FEED_API_KEY }} --store-password-in-clear-text
251251
dotnet nuget push **/*.nupkg --source private-feed --api-key ${{ secrets.PRIVATE_NUGET_PACKAGE_FEED_API_KEY }}
252252
working-directory: ${{ runner.temp }}/packages/
253253
254254
release-package:
255255
if: ${{ github.env.is_release }}
256-
name: Release package with .NET
256+
name: Release package with .NET CLI
257257
needs: [pack, test]
258258
environment:
259259
name: public-nuget-feed

0 commit comments

Comments
 (0)