File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags : ['v*']
6+
7+ permissions :
8+ contents : write
9+
10+ env :
11+ GONOSUMCHECK : github.com/orchestra-mcp/*
12+ GONOSUMDB : github.com/orchestra-mcp/*
13+ GOFLAGS : -mod=mod
14+
15+ jobs :
16+ build :
17+ strategy :
18+ matrix :
19+ include :
20+ - goos : darwin
21+ goarch : amd64
22+ runner : macos-latest
23+ - goos : darwin
24+ goarch : arm64
25+ runner : macos-latest
26+ - goos : linux
27+ goarch : amd64
28+ runner : ubuntu-latest
29+ - goos : linux
30+ goarch : arm64
31+ runner : ubuntu-latest
32+ runs-on : ${{ matrix.runner }}
33+ steps :
34+ - uses : actions/checkout@v4
35+
36+ - uses : actions/setup-go@v5
37+ with :
38+ go-version : ' 1.24'
39+
40+ - name : Download dependencies
41+ run : |
42+ for i in 1 2 3; do
43+ go mod download && break
44+ echo "Retry $i: waiting for Go proxy to index..."
45+ sleep 15
46+ done
47+
48+ - name : Build
49+ env :
50+ GOOS : ${{ matrix.goos }}
51+ GOARCH : ${{ matrix.goarch }}
52+ CGO_ENABLED : ' 0'
53+ run : |
54+ BINARY_NAME="plugin-devtools-debugger"
55+ go build -trimpath -ldflags "-s -w" -o "${BINARY_NAME}" ./cmd/
56+
57+ - name : Package tarball
58+ run : |
59+ BINARY_NAME="plugin-devtools-debugger"
60+ TARBALL="${BINARY_NAME}-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz"
61+ tar -czf "${TARBALL}" "${BINARY_NAME}"
62+ echo "TARBALL=${TARBALL}" >> $GITHUB_ENV
63+
64+ - name : Upload artifact
65+ uses : actions/upload-artifact@v4
66+ with :
67+ name : ${{ env.TARBALL }}
68+ path : ${{ env.TARBALL }}
69+
70+ release :
71+ needs : build
72+ runs-on : ubuntu-latest
73+ steps :
74+ - uses : actions/download-artifact@v4
75+ with :
76+ path : artifacts
77+ merge-multiple : true
78+
79+ - name : Create GitHub Release
80+ uses : softprops/action-gh-release@v2
81+ with :
82+ generate_release_notes : true
83+ files : artifacts/*.tar.gz
Original file line number Diff line number Diff line change 1+ package devtoolsdebugger
2+
3+ import (
4+ "github.com/orchestra-mcp/plugin-devtools-debugger/internal"
5+ "github.com/orchestra-mcp/sdk-go/plugin"
6+ )
7+
8+ // Register adds all debugger tools to the builder.
9+ func Register (builder * plugin.PluginBuilder ) {
10+ dp := & internal.DebuggerPlugin {}
11+ dp .RegisterTools (builder )
12+ }
You can’t perform that action at this time.
0 commit comments