Skip to content

Commit 25970da

Browse files
committed
Publish to NuGet from my fork
1 parent 5dac70d commit 25970da

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
name: build-artifacts
5959
path: ${{ github.workspace }}/artifacts
6060

61-
publish-github-package:
61+
publish-github:
6262
needs: build-package
6363
runs-on: ubuntu-latest
6464
permissions:
@@ -89,7 +89,7 @@ jobs:
8989
--api-key ${{ secrets.GITHUB_TOKEN }}
9090
--skip-duplicate
9191

92-
publish-release-package:
92+
publish-release:
9393
if: github.event_name == 'release'
9494
needs: build-package
9595
runs-on: ubuntu-latest
@@ -113,9 +113,9 @@ jobs:
113113
env:
114114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115115

116-
publish-nuget-package:
117-
# Only publish to NuGet.org from the modelcontextprotocol/csharp-sdk repository
118-
if: ${{ github.event_name == 'release' && github.repository == 'modelcontextprotocol/csharp-sdk' }}
116+
publish-nuget:
117+
# Only publish to NuGet.org from the jeffhandley/modelcontextprotocol-csharp-sdk repository
118+
if: ${{ github.event_name == 'release' && github.repository == 'jeffhandley/modelcontextprotocol-csharp-sdk' }}
119119
needs: build-package
120120
runs-on: ubuntu-latest
121121
steps:

0 commit comments

Comments
 (0)