Skip to content

Commit f30cc97

Browse files
vchomakovCopilot
andauthored
fix: use consistent dry_run check in publish steps
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8d36a9c commit f30cc97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,11 @@
302302
chmod +x mcp-publisher
303303
304304
- name: ⚙️ Login to MCP Registry
305-
if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.dry_run != true) }}
305+
if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && !inputs.dry_run) }}
306306
run: ./mcp-publisher login github-oidc
307307

308308
- name: ⚙️ Publish to MCP Registry
309-
if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.dry_run != true) }}
309+
if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && !inputs.dry_run) }}
310310
run: ./mcp-publisher publish
311311

312312
- name: ⚙️ Dry run notification

0 commit comments

Comments
 (0)