Skip to content

Commit eb9a934

Browse files
committed
Fix variable reference in workflow for fallback template check
1 parent 4a49bdd commit eb9a934

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test-mcp-server.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ jobs:
270270
run: |
271271
echo "Testing workflow: /generate-sync → /compile..."
272272
273-
# Check if we're working with a fallback template
274-
if [[ "${steps.test-generate-sync.outputs.status}" == "fallback" ]]; then
273+
# Fix the variable reference - use proper quoting and check if variable exists
274+
STATUS="${steps.test-generate-sync.outputs.status:-unknown}"
275+
if [[ "$STATUS" == "fallback" ]]; then
275276
echo "WARNING: Testing with fallback template code - LLM generation failed but continuing with tests"
276277
fi
277278

0 commit comments

Comments
 (0)