Skip to content

Commit 7f315da

Browse files
committed
Pass API key
1 parent 0da76bd commit 7f315da

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ jobs:
7878

7979
- name: Authenticate to NuGet.org with OIDC
8080
uses: NuGet/login@v1
81+
id: login
8182
with:
8283
user: khellang
8384

8485
- name: Push to NuGet.org
85-
run: dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --skip-duplicate
86+
run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{steps.login.outputs.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)