-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbinary-caller.yml
More file actions
41 lines (38 loc) · 1.05 KB
/
binary-caller.yml
File metadata and controls
41 lines (38 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# Binary server caller workflow
# Packages a pre-compiled binary MCP server.
# Downloads the binary from a GitHub release, then
# bundles it — no Node.js build/test needed.
name: Package MCP Bundle (Binary)
"on":
push:
branches: [main]
tags: ['v*']
# For cross-platform binaries, use a matrix strategy:
# strategy:
# matrix:
# include:
# - os: ubuntu-latest
# arch: linux-amd64
# - os: macos-latest
# arch: darwin-arm64
# package:
# uses: zircote/mcp-bundle/.github/workflows/mcp-bundle.yml@v1
# with:
# runs-on: ${{ matrix.os }}
jobs:
package:
uses: >-
zircote/mcp-bundle/.github/workflows/mcp-bundle.yml@v1
with:
source-files: "server/*"
build-command: |
mkdir -p server
gh release download latest \
--repo owner/mcp-server-bin \
--pattern '*-linux-amd64' \
--dir server
chmod +x server/*
test-command: "server/mcp-server-bin --version"
upload-artifact: true
create-release-asset: true