File tree Expand file tree Collapse file tree 2 files changed +11
-26
lines changed Expand file tree Collapse file tree 2 files changed +11
-26
lines changed Original file line number Diff line number Diff line change 88jobs :
99 check :
1010 runs-on : ubuntu-latest
11- permissions : {}
1211 outputs :
1312 VERSION_EXISTS : ${{ steps.check-version.outputs.VERSION_EXISTS }}
1413 VERSION : ${{ steps.get-version.outputs.VERSION }}
7574 environment : Production
7675 permissions :
7776 contents : write
77+ id-token : write
7878 needs :
7979 - check
8080 if : needs.check.outputs.VERSION_EXISTS == 'false'
@@ -101,3 +101,13 @@ jobs:
101101 GH_TOKEN : ${{ github.token }}
102102 run : |
103103 gh release create ${{ needs.check.outputs.VERSION }} --title "${{ needs.check.outputs.VERSION }}" --generate-notes --target ${{ github.sha }} ${{ (needs.check.outputs.RELEASE_CHANNEL != 'latest' && '--prerelease') || ''}}
104+
105+ - name : Install MCP Publisher
106+ run : |
107+ curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
108+
109+ - name : Login to MCP Registry
110+ run : ./mcp-publisher login github-oidc
111+
112+ - name : Publish to MCP Registry
113+ run : ./mcp-publisher publish
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments