We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e51eef4 commit fdbf997Copy full SHA for fdbf997
1 file changed
.github/workflows/publish-dotnet.yml
@@ -65,7 +65,15 @@ jobs:
65
run: |
66
cd dotnet/mcpb
67
dotnet pack -c Release --no-build --output ./artifacts
68
-
+ - name: Remove old v2 NuGet source if exists
69
+ run: dotnet nuget remove source nuget.org || true
70
+
71
+ - name: Add v3 NuGet source
72
+ run: dotnet nuget add source https://api.nuget.org/v3/index.json --name nuget.org
73
74
+ - name: List NuGet sources (for debugging)
75
+ run: dotnet nuget list source
76
77
- name: Publish to NuGet
78
79
0 commit comments