Skip to content

Commit 307289d

Browse files
author
John Campion Jr
committed
setup real nuget publish
1 parent aa75041 commit 307289d

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/publish-nuget.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ jobs:
3838
dotnet pack --no-build -v normal --include-symbols -o nupkg
3939
4040
# Get a short-lived NuGet API key
41-
# - name: NuGet login (OIDC → temp API key)
42-
# uses: NuGet/login@v1
43-
# id: login
44-
# with:
45-
# user: ${{secrets.NUGET_USER}}
41+
- name: NuGet login (OIDC → temp API key)
42+
uses: NuGet/login@v1
43+
id: login
44+
with:
45+
user: ${{secrets.NUGET_USER}}
4646

4747
- name: Push NuGet 🚀
4848
run: |
49-
dotnet nuget push **/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://f.feedz.io/jcamp/nuget-test/nuget/index.json --skip-duplicate
50-
# dotnet nuget push **/*.nupkg -k ${{steps.login.outputs.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
49+
dotnet nuget push **/*.nupkg -k ${{steps.login.outputs.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
5150
# dotnet nuget push **/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://f.feedz.io/jcamp/nuget-test/nuget/index.json --skip-duplicate

0 commit comments

Comments
 (0)