Skip to content

Commit 6b25f07

Browse files
committed
ENV is derped
1 parent d57efd3 commit 6b25f07

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release-nuget.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ jobs:
2626
path: artifacts
2727

2828
- name: Publish NuGet Package (NuGet.org)
29-
env:
30-
API_KEY: ${{ secrets.NUGET_API_KEY }}
31-
run: dotnet nuget push ./artifacts/*.nupkg -k ${API_KEY}
29+
run: dotnet nuget push ./artifacts/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
3230

3331
- name: Publish NuGet Package (GitHub)
34-
env:
35-
API_KEY: ${{ secrets.GITHUB_TOKEN }}
36-
run: dotnet nuget push ./artifacts/*.nupkg -k ${API_KEY} --source "https://nuget.pkg.github.com/redth-org/index.json"
32+
run: dotnet nuget push ./artifacts/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/redth-org/index.json

0 commit comments

Comments
 (0)