-
Notifications
You must be signed in to change notification settings - Fork 163
chore: add a temporary OIDC-based registry publish workflow #682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,38 @@ | ||||||
| --- | ||||||
| name: Publish to MCP Registry | ||||||
| on: | ||||||
| workflow_dispatch: | ||||||
|
|
||||||
| jobs: | ||||||
| publish: | ||||||
| runs-on: ubuntu-latest | ||||||
| environment: Production | ||||||
| permissions: | ||||||
| contents: write | ||||||
| id-token: write | ||||||
| needs: | ||||||
| - check | ||||||
| if: needs.check.outputs.VERSION_EXISTS == 'false' | ||||||
| steps: | ||||||
| - uses: GitHubSecurityLab/actions-permissions/monitor@v1 | ||||||
| - uses: actions/checkout@v5 | ||||||
| - uses: actions/setup-node@v6 | ||||||
| with: | ||||||
| node-version-file: package.json | ||||||
| registry-url: "https://registry.npmjs.org" | ||||||
| cache: "npm" | ||||||
|
|
||||||
| - name: Build package | ||||||
| run: | | ||||||
| npm ci | ||||||
| npm run build | ||||||
gagik marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| - name: Install MCP Publisher | ||||||
| run: | | ||||||
| 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 | ||||||
|
||||||
| 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 | |
| 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is true at all lol
Uh oh!
There was an error while loading. Please reload this page.