Skip to content

Commit fe1609e

Browse files
committed
Push nupkg file directly
1 parent cf037ef commit fe1609e

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@
3333
"name": "Checkout",
3434
"uses": "actions/checkout@v3.5.0"
3535
},
36-
{
37-
"name": "Setup NuGet",
38-
"uses": "nuget/setup-nuget@v1.1.1",
39-
"with": {
40-
"nuget-version": "6.x"
41-
}
42-
},
4336
{
4437
"name": "Setup .NET SDK",
4538
"uses": "actions/setup-dotnet@v3.0.3",
@@ -81,7 +74,7 @@
8174
},
8275
{
8376
"name": "Push packages to NuGet",
84-
"run": "dotnet nuget push dist/ --source https://api.nuget.org/v3/index.json --symbol-source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_PUSH_KEY }}"
77+
"run": "dotnet nuget push (Get-Item dist/*.nupkg).FullName --api-key ${{ secrets.NUGET_PUSH_KEY }}"
8578
}
8679
]
8780
}

0 commit comments

Comments
 (0)