Skip to content

Commit 36ec32a

Browse files
💚 fix: auth for github artifacts (#170)
* fix: auth for github artifacts * Update publish.yml
1 parent 0596280 commit 36ec32a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
run: dotnet nuget add source --username USERNAME --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ESC-BV/index.json"
4242

4343
- name: 🚀 Publish to GitHub packages
44-
run: dotnet nuget push "./artifacts/*.nupkg" --source "github"
44+
run: dotnet nuget push "./artifacts/*.nupkg" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
4545

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ jobs:
3939

4040
- name: 🚀 Push package to Github and NuGet
4141
run: |
42-
dotnet nuget push "./artifacts/*.nupkg" --source "github"
42+
dotnet nuget push "./artifacts/*.nupkg" --source "github" --api-key ${{ secrets.GITHUB_TOKEN }}
4343
dotnet nuget push "./artifacts/*.nupkg" --source "https://api.nuget.org/v3/index.json" --api-key "${{secrets.NUGET_API_KEY}}"

0 commit comments

Comments
 (0)