Skip to content

Commit 37a7855

Browse files
committed
fix(importer): update command paths in import-records.yaml to use .bin directory
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
1 parent 7251821 commit 37a7855

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/import-records.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
- name: Build dirctl
111111
run: |
112112
task cli:compile
113-
ls -la bin/
113+
ls -la .bin/
114114
115115
- name: Install mcp-scanner
116116
if: ${{ env.SCANNER_ENABLED == 'true' }}
@@ -122,7 +122,7 @@ jobs:
122122
{
123123
"mcpServers": {
124124
"dir-mcp-server": {
125-
"command": "bin/dirctl",
125+
"command": ".bin/dirctl",
126126
"args": [
127127
"mcp",
128128
"serve"
@@ -156,7 +156,7 @@ jobs:
156156
echo "--- Processing Entry $((${{ matrix.entry.index }} + 1)) ---"
157157
158158
CIDS_FILE="imported-cids-${{ matrix.entry.index }}.txt"
159-
CMD=(bin/dirctl import --type=mcp --url=https://registry.modelcontextprotocol.io/v0.1 --enrich-config=mcphost_ci.json --enrich-rate-limit="${{ env.RATE_LIMIT }}")
159+
CMD=(.bin/dirctl import --type=mcp --url=https://registry.modelcontextprotocol.io/v0.1 --enrich-config=mcphost_ci.json --enrich-rate-limit="${{ env.RATE_LIMIT }}")
160160
161161
if [[ "${{ env.DRY_RUN }}" == "true" ]]; then
162162
CMD+=("--dry-run")
@@ -241,7 +241,7 @@ jobs:
241241
OIDC_TOKEN=$(curl -s -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
242242
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=sigstore" | jq -r '.value')
243243
244-
if bin/dirctl sign "$CID" \
244+
if .bin/dirctl sign "$CID" \
245245
--oidc-token="$OIDC_TOKEN" \
246246
--oidc-provider-url="https://token.actions.githubusercontent.com" \
247247
--oidc-client-id="https://github.com/${{ github.repository }}/.github/workflows/import-records.yaml@${{ github.ref }}"; then

0 commit comments

Comments
 (0)