File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,12 @@ jobs:
107107 echo "agents=$agents_json" >> $GITHUB_OUTPUT
108108 echo "has_agents=true" >> $GITHUB_OUTPUT
109109
110+ # Debug outputs
111+ echo "DEBUG: Setting has_agents=true"
112+ echo "DEBUG: agents_json=$agents_json"
113+ echo "DEBUG: GITHUB_OUTPUT contents:"
114+ cat $GITHUB_OUTPUT
115+
110116 echo "" >> $GITHUB_STEP_SUMMARY
111117 for agent in "${agents_to_build[@]}"; do
112118 echo "- \`$agent\`" >> $GITHUB_STEP_SUMMARY
@@ -116,7 +122,7 @@ jobs:
116122
117123 build-agents :
118124 needs : find-agents
119- if : ${{ needs.find-agents.outputs.has_agents == 'true' }}
125+ if : ${{ needs.find-agents.outputs.has_agents == 'true' && needs.find-agents.outputs.agents != '[]' }}
120126 runs-on : ubuntu-latest
121127 timeout-minutes : 15
122128 strategy :
@@ -126,6 +132,12 @@ jobs:
126132
127133 name : build-${{ matrix.agent_path }}
128134 steps :
135+ - name : Debug inputs from find-agents
136+ run : |
137+ echo "DEBUG: Received has_agents = '${{ needs.find-agents.outputs.has_agents }}'"
138+ echo "DEBUG: Received agents = '${{ needs.find-agents.outputs.agents }}'"
139+ echo "DEBUG: Current matrix agent = '${{ matrix.agent_path }}'"
140+
129141 - name : Checkout repository
130142 uses : actions/checkout@v4
131143
You can’t perform that action at this time.
0 commit comments