Skip to content

Commit

Permalink
Nuget MyGet Fix (#3031)
Browse files Browse the repository at this point in the history
* fix

* Added disable-buffering

* typo fixed

* Fix package Neo.ConsoleService

* Add global.json configuration for targetting right version of dotnet sdk if you have dotnet 8.0 installed

---------

Co-authored-by: Shargon <shargon@gmail.com>
  • Loading branch information
cschuchardt88 and shargon authored Dec 27, 2023
1 parent c78ac5a commit 254fc99
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
for filename in *.nupkg; do
dotnet nuget push "${filename}" \
--source https://www.myget.org/F/neo/api/v3/index.json \
--api-key "${{ secrets.MYGET_TOKEN }}";
--api-key "${{ secrets.MYGET_TOKEN }}" \
--disable-buffering \
--no-service-endpoint;
done;
shell: bash

Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "7.0.404",
"rollForward": "latestFeature",
"allowPrerelease": false
}
}
2 changes: 1 addition & 1 deletion src/Neo.ConsoleService/Neo.ConsoleService.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.2.0</Version>
<PackageId>Neo.ConsoleService</PackageId>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 254fc99

Please sign in to comment.