Skip to content

Commit 0a6921b

Browse files
committed
Update release.yml
1 parent 9d9b010 commit 0a6921b

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,10 @@ jobs:
173173
run: dotnet pack ReflectorNet/ReflectorNet.csproj --no-build --configuration Release --output ./packages
174174

175175
- name: NuGet login (Trusted Publishing)
176-
uses: nuget/login@v1
176+
id: nuget_login
177+
uses: NuGet/login@v1
178+
with:
179+
user: IvanMurzak
177180

178181
- name: Publish to NuGet
179-
run: dotnet nuget push ./packages/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
182+
run: dotnet nuget push ./packages/*.nupkg --api-key ${{ steps.nuget_login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)